PHP Class Yosymfony\Spress\Plugin\CommandPlugin

Author: Victor Puertas ([email protected])
Inheritance: implements Yosymfony\Spress\Plugin\CommandPluginInterface
Afficher le fichier Open project: spress/spress Class Usage Examples

Protected Properties

Свойство Type Description
$environment
$output
$symfonyCommand

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
executeCommand ( Yosymfony\Spress\Core\IO\IOInterface $io, array $arguments, array $options )
getCommandDefinition ( )
getCommandEnvironment ( )
getMetas ( )
initialize ( Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber )
setCommandEnvironment ( Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface $environment )

Method Details

__construct() public méthode

Constructor.
public __construct ( )

executeCommand() public méthode

public executeCommand ( Yosymfony\Spress\Core\IO\IOInterface $io, array $arguments, array $options )
$io Yosymfony\Spress\Core\IO\IOInterface
$arguments array
$options array

getCommandDefinition() public méthode

getCommandEnvironment() public méthode

getMetas() public méthode

public getMetas ( )

initialize() public méthode

Override this method in case you need a regular plugin behavior.
public initialize ( Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber )
$subscriber Yosymfony\Spress\Core\Plugin\EventSubscriber

setCommandEnvironment() public méthode

public setCommandEnvironment ( Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface $environment )
$environment Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface

Property Details

$environment protected_oe property

protected $environment

$output protected_oe property

protected $output

$symfonyCommand protected_oe property

protected $symfonyCommand