PHP Class Yosymfony\Spress\Plugin\ConsoleCommandBuilder

Author: Victor Puertas ([email protected])
Afficher le fichier Open project: spress/spress Class Usage Examples

Protected Properties

Свойство Type Description
$pluginManager

Méthodes publiques

Méthode Description
__construct ( PluginManager $pluginManager ) Constructor.
buildCommands ( ) : Command[] Gets a list of Symfony Console command.

Méthodes protégées

Méthode Description
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?

Method Details

__construct() public méthode

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

buildCommand() protected méthode

Build a Symfony Console commands.
protected buildCommand ( Yosymfony\Spress\Plugin\CommandPluginInterface $commandPlugin ) : Command
$commandPlugin Yosymfony\Spress\Plugin\CommandPluginInterface
Résultat Symfony\Component\Console\Command\Command Symfony Console command

buildCommands() public méthode

Gets a list of Symfony Console command.
public buildCommands ( ) : Command[]
Résultat Symfony\Component\Console\Command\Command[] Symfony Console commands

isValidCommandPlugin() protected méthode

Is a valid command plugin?
protected isValidCommandPlugin ( Yosymfony\Spress\Core\Plugin\PluginInterface $plugin ) : boolean
$plugin Yosymfony\Spress\Core\Plugin\PluginInterface
Résultat boolean

Property Details

$pluginManager protected_oe property

protected $pluginManager