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

Автор: Victor Puertas ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$pluginManager

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

Метод Описание
__construct ( PluginManager $pluginManager ) Constructor.
buildCommands ( ) : Command[] Gets a list of Symfony Console command.

Защищенные методы

Метод Описание
buildCommand ( Yosymfony\Spress\Plugin\CommandPluginInterface $commandPlugin ) : Command Build a Symfony Console commands.
isValidCommandPlugin ( Yosymfony\Spress\Core\Plugin\PluginInterface $plugin ) : boolean Is a valid command plugin?

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

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

Constructor.
public __construct ( PluginManager $pluginManager )
$pluginManager Yosymfony\Spress\Core\Plugin\PluginManager

buildCommand() защищенный Метод

Build a Symfony Console commands.
protected buildCommand ( Yosymfony\Spress\Plugin\CommandPluginInterface $commandPlugin ) : Command
$commandPlugin Yosymfony\Spress\Plugin\CommandPluginInterface
Результат Symfony\Component\Console\Command\Command Symfony Console command

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

Gets a list of Symfony Console command.
public buildCommands ( ) : Command[]
Результат Symfony\Component\Console\Command\Command[] Symfony Console commands

isValidCommandPlugin() защищенный Метод

Is a valid command plugin?
protected isValidCommandPlugin ( Yosymfony\Spress\Core\Plugin\PluginInterface $plugin ) : boolean
$plugin Yosymfony\Spress\Core\Plugin\PluginInterface
Результат boolean

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

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

protected $pluginManager