PHP Class Fakerino\Configuration\ConfigurationFile\Helper\FileConfigurationLoaderFactory

Author: Nicola Pietroluongo ([email protected])
Show file Open project: fakerino/fakerino Class Usage Examples

Public Methods

Method Description
__construct ( string $filePath ) Constructor
load ( ) : Fakerino\Configuration\ConfigurationInterface Finds and returns the file if exists

Private Methods

Method Description
getConfigFileClass ( string $fileExt ) : string Returns the conf file class name

Method Details

__construct() public method

Constructor
public __construct ( string $filePath )
$filePath string

load() public method

Finds and returns the file if exists
public load ( ) : Fakerino\Configuration\ConfigurationInterface
return Fakerino\Configuration\ConfigurationInterface