메소드 | 설명 | |
---|---|---|
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. |
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 |
public getCommandDefinition ( ) : Yosymfony\Spress\Plugin\CommandDefinition | ||
리턴 | Yosymfony\Spress\Plugin\CommandDefinition | Definition of the command |
public getCommandEnvironment ( ) : Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface | ||
리턴 | Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface |
public setCommandEnvironment ( Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface $environment ) | ||
$environment | Yosymfony\Spress\Plugin\Environment\CommandEnvironmentInterface | The environment |