Метод | Описание | |
---|---|---|
__construct ( string $rootDir, string $environment ) | Constructor. | |
create ( ) : Dflydev\DotAccessConfiguration\Configuration | Create Site Configuration | |
detectConfig ( ) : Dflydev\DotAccessConfiguration\Configuration | Detect configuration file and create Site Configuration from it |
Метод | Описание | |
---|---|---|
getConfigFile ( string $configFile ) : Dflydev\DotAccessConfiguration\YamlFileConfigurationBuilder | Get an instance of the Configuration() class from the given file. |
public __construct ( string $rootDir, string $environment ) | ||
$rootDir | string | Root directory |
$environment | string | Environment |
public create ( ) : Dflydev\DotAccessConfiguration\Configuration | ||
Результат | Dflydev\DotAccessConfiguration\Configuration |
public detectConfig ( ) : Dflydev\DotAccessConfiguration\Configuration | ||
Результат | Dflydev\DotAccessConfiguration\Configuration |