PHP 클래스 Yosymfony\Spress\Plugin\ConsoleCommandBuilder

저자: Victor Puertas ([email protected])
파일 보기 프로젝트 열기: spress/spress 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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