PHP Class Yosymfony\Spress\Core\Plugin\Event\EnvironmentEvent

Used with events: - "spress.start".
Author: Victor Puertas ([email protected])
Inheritance: extends Symfony\Component\EventDispatcher\Event
Exibir arquivo Open project: spress/spress Class Usage Examples

Protected Properties

Property Type Description
$configValues
$converterManager
$dataSourceManager
$dataWriter
$generatorManager
$io
$renderizer

Public Methods

Method Description
__construct ( DataSourceManager $dataSourceManager, Yosymfony\Spress\Core\DataWriter\DataWriterInterface $dataWriter, ConverterManager $converterManager, GeneratorManager $generatorManager, Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface $renderizer, Yosymfony\Spress\Core\IO\IOInterface $io, array &$configValues ) Constructor.
getConfigValues ( ) : array Gets the configuration values.
getConverterManager ( ) : ConverterManager Gets the converter manager.
getDataSourceManager ( ) : DataSourceManager Gets the data source manager.
getDataWriter ( ) : Yosymfony\Spress\Core\DataWriter\DataWriterInterface Gets the data writer.
getGeneratorManager ( ) : GeneratorManager Gets the generator manager.
getIO ( ) : Yosymfony\Spress\IO\IOInterface Gets IO.
getRenderizer ( ) : Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface Gets the renderizer.
setConfigValues ( array $values ) Sets the configuration values.
setDataWriter ( Yosymfony\Spress\Core\DataWriter\DataWriterInterface $dataWriter ) Sets the data writer.
setRenderizer ( Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface $renderizer ) Sets a custom renderizer.

Method Details

__construct() public method

Constructor.
public __construct ( DataSourceManager $dataSourceManager, Yosymfony\Spress\Core\DataWriter\DataWriterInterface $dataWriter, ConverterManager $converterManager, GeneratorManager $generatorManager, Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface $renderizer, Yosymfony\Spress\Core\IO\IOInterface $io, array &$configValues )
$dataSourceManager Yosymfony\Spress\Core\DataSource\DataSourceManager
$dataWriter Yosymfony\Spress\Core\DataWriter\DataWriterInterface
$converterManager Yosymfony\Spress\Core\ContentManager\Converter\ConverterManager
$generatorManager Yosymfony\Spress\Core\ContentManager\Generator\GeneratorManager
$renderizer Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface
$io Yosymfony\Spress\Core\IO\IOInterface
$configValues array

getConfigValues() public method

Gets the configuration values.
public getConfigValues ( ) : array
return array

getConverterManager() public method

Gets the converter manager.
public getConverterManager ( ) : ConverterManager
return Yosymfony\Spress\Core\ContentManager\Converter\ConverterManager

getDataSourceManager() public method

Gets the data source manager.
public getDataSourceManager ( ) : DataSourceManager
return Yosymfony\Spress\Core\DataSource\DataSourceManager

getDataWriter() public method

Gets the data writer.
public getDataWriter ( ) : Yosymfony\Spress\Core\DataWriter\DataWriterInterface
return Yosymfony\Spress\Core\DataWriter\DataWriterInterface

getGeneratorManager() public method

Gets the generator manager.
public getGeneratorManager ( ) : GeneratorManager
return Yosymfony\Spress\Core\ContentManager\Generator\GeneratorManager

getIO() public method

Gets IO.
public getIO ( ) : Yosymfony\Spress\IO\IOInterface
return Yosymfony\Spress\IO\IOInterface

getRenderizer() public method

Gets the renderizer.
public getRenderizer ( ) : Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface
return Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface

setConfigValues() public method

Sets the configuration values.
public setConfigValues ( array $values )
$values array

setDataWriter() public method

Sets the data writer.
public setDataWriter ( Yosymfony\Spress\Core\DataWriter\DataWriterInterface $dataWriter )
$dataWriter Yosymfony\Spress\Core\DataWriter\DataWriterInterface

setRenderizer() public method

Sets a custom renderizer.
public setRenderizer ( Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface $renderizer )
$renderizer Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface The renderizer

Property Details

$configValues protected_oe property

protected $configValues

$converterManager protected_oe property

protected $converterManager

$dataSourceManager protected_oe property

protected $dataSourceManager

$dataWriter protected_oe property

protected $dataWriter

$generatorManager protected_oe property

protected $generatorManager

$io protected_oe property

protected $io

$renderizer protected_oe property

protected $renderizer