PHP Class Sensio\Bundle\DistributionBundle\Configurator\Configurator

Author: Marc Weistroff ([email protected])
Author: Jérôme Vieilledent ([email protected])
Mostrar archivo Open project: pmjones/php-framework-benchmarks Class Usage Examples

Protected Properties

Property Type Description
$filename
$parameters
$steps

Public Methods

Method Description
__construct ( $kernelDir )
addStep ( Sensio\Bundle\DistributionBundle\Configurator\Step\StepInterface $step )
clean ( )
getParameters ( ) : array
getStep ( integer $index ) : Sensio\Bundle\DistributionBundle\Configurator\Step\StepInterface
getStepCount ( ) : integer
getSteps ( ) : array
isFileWritable ( )
mergeParameters ( array $parameters )
render ( ) : string Renders parameters as a string.
write ( ) : boolean Writes parameters to parameters.ini or temporary in the cache directory.

Protected Methods

Method Description
getCacheFilename ( ) : string getCacheFilename
read ( ) : array Reads parameters from file.

Method Details

__construct() public method

public __construct ( $kernelDir )

addStep() public method

public addStep ( Sensio\Bundle\DistributionBundle\Configurator\Step\StepInterface $step )
$step Sensio\Bundle\DistributionBundle\Configurator\Step\StepInterface

clean() public method

public clean ( )

getCacheFilename() protected method

getCacheFilename
protected getCacheFilename ( ) : string
return string

getParameters() public method

public getParameters ( ) : array
return array

getStep() public method

public getStep ( integer $index ) : Sensio\Bundle\DistributionBundle\Configurator\Step\StepInterface
$index integer
return Sensio\Bundle\DistributionBundle\Configurator\Step\StepInterface

getStepCount() public method

public getStepCount ( ) : integer
return integer

getSteps() public method

public getSteps ( ) : array
return array

isFileWritable() public method

public isFileWritable ( )

mergeParameters() public method

public mergeParameters ( array $parameters )
$parameters array

read() protected method

Reads parameters from file.
protected read ( ) : array
return array

render() public method

Renders parameters as a string.
public render ( ) : string
return string

write() public method

Writes parameters to parameters.ini or temporary in the cache directory.
public write ( ) : boolean
return boolean

Property Details

$filename protected_oe property

protected $filename

$parameters protected_oe property

protected $parameters

$steps protected_oe property

protected $steps