Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
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 | ||
return | Dflydev\DotAccessConfiguration\Configuration |
public detectConfig ( ) : Dflydev\DotAccessConfiguration\Configuration | ||
return | Dflydev\DotAccessConfiguration\Configuration |