public function getConfigs()
    {
        $configs = [];

        foreach ($this->getConfigFiles() as $file) {
            $name = basename($file->getFilename(), '.php');

            $values = require $file->getRealPath();

            $configs[$name] = $values;
        }

        return $configs;
    }
public function getConfigs()
    {
        $configs = [];

        foreach ($this->getConfigFiles() as $file) {
            $name = basename($file->getFilename(), '.php');

            $values = require $file->getRealPath();

            $configs[$name] = $values;
        }

        return $configs;
    }
public function getConfigs ( ) { $ configs = [ ] ; foreach ( $ this -> getConfigFiles ( ) as $ file ) { $ name = basename ( $ file -> getFilename ( ) , '.php' ) ; $ values = require $ file -> getRealPath ( ) ; $ configs [ $ name ] = $ values ; } return $ configs ; }
Get configs values from files.

@return mixed
Get configs values from files .