PHP Class Yosymfony\Spress\Plugin\CommandPlugin

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

Protected Properties

Property Type Description
$environment
$output
$symfonyCommand

Public Methods

Method 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 method

Constructor.
public __construct ( )

executeCommand() public method

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

getCommandDefinition() public method

getCommandEnvironment() public method

getMetas() public method

public getMetas ( )

initialize() public method

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 method

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

Property Details

$environment protected property

protected $environment

$output protected property

protected $output

$symfonyCommand protected property

protected $symfonyCommand