PHP Class Robo\RoboFileFixture

Inheritance: extends Robo\Tasks, implements Psr\Log\LoggerAwareInterface, implements Consolidation\AnnotatedCommand\Events\CustomEventAwareInterface, use trait Psr\Log\LoggerAwareTrait, use trait Consolidation\AnnotatedCommand\Events\CustomEventAwareTrait
Show file Open project: codegyre/robo

Public Methods

Method 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 ( )

Method Details

hookCommandEvent() public method

public hookCommandEvent ( )

hookOne() public method

public hookOne ( )

hookPostCommand() public method

public hookPostCommand ( )

hookTwo() public method

public hookTwo ( )

testArrayArgs() public method

Demonstrate Robo variable argument passing.
public testArrayArgs ( array $a )
$a array A list of commandline parameters.

testCommandEvent() public method

public testCommandEvent ( )

testCustomEvent() public method

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.
public testCustomEvent ( )

testDeploy() public method

public testDeploy ( )

testError() public method

Demonstrate Robo error output and command failure.
public testError ( )

testException() public method

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.
public testException ( $options = ['task' => false] )

testStopOnFail() public method

public testStopOnFail ( )

testSymfonyStyle() public method

Demonstrate use of SymfonyStyle
public testSymfonyStyle ( )

testVerbosity() public method

public testVerbosity ( )