Méthode | Description | |
---|---|---|
hookCommandEvent ( ) | ||
hookOne ( ) | ||
hookPostCommand ( ) | ||
hookTwo ( ) | ||
testArrayArgs ( array $a ) | Demonstrate Robo variable argument passing. | |
testCommandEvent ( ) | ||
testCustomEvent ( ) | This command uses a custom event 'custom-event' to collect data. Note that the event handlers will not be found unless the hook manager is injected into this command handler object via setHookManager() (defined in CustomEventAwareTrait). The Robo DI container does this for us through inflection. | |
testDeploy ( ) | ||
testError ( ) | Demonstrate Robo error output and command failure. | |
testException ( $options = ['task' => false] ) | Demonstrate what happens when a command or a task throws an exception. Note that typically, Robo commands should return Result objects rather than throw exceptions. | |
testStopOnFail ( ) | ||
testSymfonyStyle ( ) | Demonstrate use of SymfonyStyle | |
testVerbosity ( ) |
public testArrayArgs ( array $a ) | ||
$a | array | A list of commandline parameters. |
public testCustomEvent ( ) |
public testException ( $options = ['task' => false] ) |