com\setasign\SetaFramework\Bootstrap
ConfigReader Class ConfigReader
File: /SetaFramework/src/Bootstrap/ConfigReader.php
Class hierarchy
Implements
- \Psr\Log\LoggerAwareInterface
Summary
Properties
$applicationConfigRootPath
protected string ConfigReader::$applicationConfigRootPath
$bootstrap
protected Bootstrap ConfigReader::$bootstrap
$logger
protected ?\Psr\Log\LoggerInterface ConfigReader::$logger
Methods
__construct()
ConfigReader constructor.
Parameters
- $bootstrap : Bootstrap
- $configFile : string
- $configParams : array
Exceptions
Throws ConfigReaderException
getAbsolutePath()
Gets a absolute path of the path
Used for all path definitions in config file.
If the path is a relative path the application path dir scope will prepend before the path.
Parameters
- $path : string
readApplicationConfiguration()
protected ConfigReader::readApplicationConfiguration (
\com\setasign\SetaFramework\Config\Config $applicationSettings
): voidParameters
- $applicationSettings : \com\setasign\SetaFramework\Config\Config
readBootstrapConfiguration()
protected ConfigReader::readBootstrapConfiguration (
\com\setasign\SetaFramework\Config\Config $bootstrapConfig
): voidParameters
- $bootstrapConfig : \com\setasign\SetaFramework\Config\Config
readConfig()
Readed properties:
bootstrap.defaultRouterValues bootstrap.errorController.file bootstrap.errorController.className bootstrap.requestPathPrefix
applications.<ApplicationName>.applicationPath applications.<ApplicationName>.applicationClassName applications.<ApplicationName>.config applications.<ApplicationName>.config.viewHelperNamespaces applications.<ApplicationName>.configParams
