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
Afficher le fichier Open project: codegyre/robo

Méthodes publiques

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

Method Details

hookCommandEvent() public méthode

public hookCommandEvent ( )

hookOne() public méthode

public hookOne ( )

hookPostCommand() public méthode

public hookPostCommand ( )

hookTwo() public méthode

public hookTwo ( )

testArrayArgs() public méthode

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

testCommandEvent() public méthode

public testCommandEvent ( )

testCustomEvent() public méthode

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 méthode

public testDeploy ( )

testError() public méthode

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

testException() public méthode

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 méthode

public testStopOnFail ( )

testSymfonyStyle() public méthode

Demonstrate use of SymfonyStyle
public testSymfonyStyle ( )

testVerbosity() public méthode

public testVerbosity ( )