PHP Class N98\Magento\Application\ConfigFile

Show file Open project: netz98/n98-magerun Class Usage Examples

Public Methods

Method Description
applyVariables ( string $magentoRootFolder, SplFileInfo $file = null ) : void
createFromFile ( string $path ) : ConfigFile
loadFile ( string $path )
mergeArray ( array $array )
setBuffer ( string $buffer )
toArray ( )

Method Details

applyVariables() public method

public applyVariables ( string $magentoRootFolder, SplFileInfo $file = null ) : void
$magentoRootFolder string
$file SplFileInfo [optional]
return void

createFromFile() public static method

public static createFromFile ( string $path ) : ConfigFile
$path string
return ConfigFile

loadFile() public method

public loadFile ( string $path )
$path string

mergeArray() public method

public mergeArray ( array $array )
$array array

setBuffer() public method

public setBuffer ( string $buffer )
$buffer string

toArray() public method

public toArray ( )