PHP 인터페이스 Yosymfony\Spress\Plugin\CommandPluginInterface

저자: Victor Puertas ([email protected])
상속: extends Yosymfony\Spress\Core\Plugin\PluginInterface
파일 보기 프로젝트 열기: spress/spress 0 사용 예제들

공개 메소드들

메소드 설명
executeCommand ( Yosymfony\Spress\Core\IO\IOInterface $io, array $arguments, array $options ) : null | integer Executes the current command.
getCommandDefinition ( ) : Yosymfony\Spress\Plugin\CommandDefinition Gets the command's definition.
getCommandEnvironment ( ) : Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface Gets the command environment.
setCommandEnvironment ( Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface $environment ) Sets the command environment.

메소드 상세

executeCommand() 공개 메소드

Executes the current command.
public executeCommand ( Yosymfony\Spress\Core\IO\IOInterface $io, array $arguments, array $options ) : null | integer
$io Yosymfony\Spress\Core\IO\IOInterface Input/output interface
$arguments array Arguments passed to the command
$options array Options passed to the command
리턴 null | integer null or 0 if everything went fine, or an error code

getCommandDefinition() 공개 메소드

Gets the command's definition.
public getCommandDefinition ( ) : Yosymfony\Spress\Plugin\CommandDefinition
리턴 Yosymfony\Spress\Plugin\CommandDefinition Definition of the command

getCommandEnvironment() 공개 메소드

Gets the command environment.
public getCommandEnvironment ( ) : Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface
리턴 Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface

setCommandEnvironment() 공개 메소드

Sets the command environment.
public setCommandEnvironment ( Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface $environment )
$environment Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface The environment