PHP Класс Robo\RoboFileFixture

Наследование: extends Robo\Tasks, implements Psr\Log\LoggerAwareInterface, implements Consolidation\AnnotatedCommand\Events\CustomEventAwareInterface, use trait Psr\Log\LoggerAwareTrait, use trait Consolidation\AnnotatedCommand\Events\CustomEventAwareTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )

Описание методов

hookCommandEvent() публичный Метод

public hookCommandEvent ( )

hookOne() публичный Метод

public hookOne ( )

hookPostCommand() публичный Метод

public hookPostCommand ( )

hookTwo() публичный Метод

public hookTwo ( )

testArrayArgs() публичный Метод

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

testCommandEvent() публичный Метод

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

testDeploy() публичный Метод

public testDeploy ( )

testError() публичный Метод

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

testException() публичный Метод

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

testSymfonyStyle() публичный Метод

Demonstrate use of SymfonyStyle
public testSymfonyStyle ( )

testVerbosity() публичный Метод

public testVerbosity ( )