Bluz\Config\Config
Config
- Author: Anton Shevchuk
Synopsis
- // members
- protected $config;
- protected $modules;
- protected $path;
- protected $environment;
- // methods
- public void setPath()
- public void setEnvironment()
- public void init()
- protected array loadFile()
- protected array loadFiles()
- public array|mixed getData()
- public mixed getModuleData()
Members
protected
- $config — array
- $environment — string
- $modules — array
- $path — string
Methods
protected
- loadFile() — Load configuration file
- loadFiles() — Load configuration files to array
public
- getData() — Return configuration by key
- getModuleData() — Return module configuration by section
- init() — Load configuration
- setEnvironment() — Set application environment
- setPath() — Set path to configuration files
History
-
2017-06-30T08:36:40+00:00 (commit #2259ecf)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Fixed comments style
-
2017-04-21T13:24:35+00:00 (commit #3b25a3d)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small update for codestyle
-
2017-04-13T11:17:00+00:00 (commit #106162d)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Refactoring: - renamed Controller\Reflection to Controller\Meta (for avoid mistake with Reflection class) - set absolute path for file loader - very small perfomance optiomization - small fixes with codestyle
-
2017-02-15T16:09:44+00:00 (commit #0fc0c8b)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated coveralls config
-
2017-02-13T10:14:18+00:00 (commit #43dbf55)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Rollback to `getCount()` method
-
2017-01-30T13:15:49+00:00 (commit #fd5d943)
Author: Anton (AntonShevchuk@gmail.com) / Commiter: GitHub (AntonShevchuk@gmail.com)
Merge pull request #395 from AntonShevchuk/master Added `AttachmentResponse`
-
2017-01-30T12:38:53+00:00 (commit #0ab8691)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added `AttachmentResponse` Added `attachment($file)` helper for `Controller`