\Pivot\Core\ConfigurationConfigure

Static function config loader

Summary

Methods
Properties
Constants
get()
generateStatic()
getSchemaConfig()
No public properties found
STATIC_LOCATION
No protected methods found
No protected properties found
N/A
loadAllFileConfiguration()
loadStaticFileConfiguration()
No private properties found
N/A

Constants

STATIC_LOCATION

STATIC_LOCATION

Location of the static config file

Methods

get()

get(string  $rootPath = null,   $forceNonStatic = true) : array

Get all of the config from modules or cached

Parameters

string $rootPath

Root path of the app

$forceNonStatic

Returns

array —

merged config

generateStatic()

generateStatic(string  $rootPath) : void

Get the static config from location

Parameters

string $rootPath

root path of app

getSchemaConfig()

getSchemaConfig() : array

Get Schema Config

Returns

array

loadAllFileConfiguration()

loadAllFileConfiguration(string  $rootPath, \Zend\Expressive\ConfigManager\PhpFileProvider  $configPaths = array(),   $includeLocal = true) : \Zend\Expressive\ConfigManager\PhpFileProvider

Load all configuration from module configs

Parameters

string $rootPath

root path of app

\Zend\Expressive\ConfigManager\PhpFileProvider $configPaths

Paths that could be added

$includeLocal

Returns

\Zend\Expressive\ConfigManager\PhpFileProvider —

$configPaths

loadStaticFileConfiguration()

loadStaticFileConfiguration(string  $rootPath, \Zend\Expressive\ConfigManager\PhpFileProvider  $configPaths = array()) : \Zend\Expressive\ConfigManager\PhpFileProvider

Load the configuration from static file

Parameters

string $rootPath

root path of app

\Zend\Expressive\ConfigManager\PhpFileProvider $configPaths

Paths that could be added

Returns

\Zend\Expressive\ConfigManager\PhpFileProvider —

$configPaths