PHP Класс Yosymfony\Spress\Plugin\CommandPlugin

Автор: Victor Puertas ([email protected])
Наследование: implements Yosymfony\Spress\Plugin\CommandPluginInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$environment
$output
$symfonyCommand

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( )

executeCommand() публичный Метод

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

getCommandDefinition() публичный Метод

getCommandEnvironment() публичный Метод

getMetas() публичный Метод

public getMetas ( )

initialize() публичный Метод

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 setCommandEnvironment ( Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface $environment )
$environment Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface

Описание свойств

$environment защищенное свойство

protected $environment

$output защищенное свойство

protected $output

$symfonyCommand защищенное свойство

protected $symfonyCommand