PHP Класс Neos\Flow\Tests\Unit\Cli\CommandTest

Наследование: extends Neos\Flow\Tests\UnitTestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$command Neos\Flow\Cli\Command
$methodReflection Neos\Flow\Reflection\MethodReflection

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

Метод Описание
commandIdentifiers ( ) : array
constructRendersACommandIdentifierByTheGivenControllerAndCommandName ( $controllerClassName, $commandName, $expectedCommandIdentifier )
dummyMethod ( string $arg ) Method used to construct some test objects locally
getArgumentDefinitionsReturnsArrayOfArgumentDefinitionIfCommandExpectsArguments ( )
getArgumentDefinitionsReturnsEmptyArrayIfCommandExpectsNoArguments ( )
hasArgumentsReturnsFalseIfCommandExpectsNoArguments ( )
hasArgumentsReturnsTrueIfCommandExpectsArguments ( )
setUp ( ) : void

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

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

public commandIdentifiers ( ) : array
Результат array

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

public constructRendersACommandIdentifierByTheGivenControllerAndCommandName ( $controllerClassName, $commandName, $expectedCommandIdentifier )

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

Method used to construct some test objects locally
public dummyMethod ( string $arg )
$arg string

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

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

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

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

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

public setUp ( ) : void
Результат void

Описание свойств

$command защищенное свойство

protected Command,Neos\Flow\Cli $command
Результат Neos\Flow\Cli\Command

$methodReflection защищенное свойство

protected MethodReflection,Neos\Flow\Reflection $methodReflection
Результат Neos\Flow\Reflection\MethodReflection