PHP Class Liip\RMT\Config\Handler

Afficher le fichier Open project: liip/rmt Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $rawConfig = null, $projectRoot = null )
getBaseConfig ( )
getConfigForBranch ( $branchName )
getDefaultConfig ( )

Méthodes protégées

Méthode Description
findClass ( $name, $sectionName ) Sub part of the normalize()
findInternalClass ( $name, $sectionName ) Sub part of the normalize()
getClassAndOptions ( $rawConfig, $sectionName ) Sub part of the normalize()
mergeConfig ( $branchName = null )
normalize ( $config ) Normalize all config entry to be a normalize class entry: array("class"=>XXX, "options"=>YYY)
prepareConfigFor ( $branch )
validateRootElements ( $config )

Method Details

__construct() public méthode

public __construct ( $rawConfig = null, $projectRoot = null )

findClass() protected méthode

Sub part of the normalize()
protected findClass ( $name, $sectionName )

findInternalClass() protected méthode

Sub part of the normalize()
protected findInternalClass ( $name, $sectionName )

getBaseConfig() public méthode

public getBaseConfig ( )

getClassAndOptions() protected méthode

Sub part of the normalize()
protected getClassAndOptions ( $rawConfig, $sectionName )

getConfigForBranch() public méthode

public getConfigForBranch ( $branchName )

getDefaultConfig() public méthode

public getDefaultConfig ( )

mergeConfig() protected méthode

protected mergeConfig ( $branchName = null )

normalize() protected méthode

Normalize all config entry to be a normalize class entry: array("class"=>XXX, "options"=>YYY)
protected normalize ( $config )

prepareConfigFor() protected méthode

protected prepareConfigFor ( $branch )

validateRootElements() protected méthode

protected validateRootElements ( $config )