private function load()
    {
        if ($this->config === null) {
            $this->config = [];
            $localPath = '/conf/dependencies.php';
            $appRoot = $this->env->getBootstrap()->getAppRoot();
            $fs = $this->env->getFileSystem();
            if ($fs->fileExists($appRoot . $localPath)) {
                /** @noinspection PhpIncludeInspection */
                $this->config = require_once($fs->getRealPath($appRoot . $localPath));
            }
        }
    }
private function load()
    {
        if ($this->config === null) {
            $this->config = [];
            $localPath = '/conf/dependencies.php';
            $appRoot = $this->env->getBootstrap()->getAppRoot();
            $fs = $this->env->getFileSystem();
            if ($fs->fileExists($appRoot . $localPath)) {
                /** @noinspection PhpIncludeInspection */
                $this->config = require_once($fs->getRealPath($appRoot . $localPath));
            }
        }
    }
private function load ( ) { if ( $ this -> config === null ) { $ this -> config = [ ] ; $ localPath = '/conf/dependencies.php' ; $ appRoot = $ this -> env -> getBootstrap ( ) -> getAppRoot ( ) ; $ fs = $ this -> env -> getFileSystem ( ) ; if ( $ fs -> fileExists ( $ appRoot . $ localPath ) ) { /** @noinspection PhpIncludeInspection */ $ this -> config = require_once ( $ fs -> getRealPath ( $ appRoot . $ localPath ) ) ; } } }
Loads the configuration from file.
Loads the configuration from file .