PHP Класс PhpSpec\Console\Application

Наследование: extends Symfony\Component\Console\Application
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( string $version )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
getContainer ( ) : PhpSpec\ServiceContainer

Защищенные методы

Метод Описание
getDefaultInputDefinition ( ) Fixes an issue with definitions of the no-interaction option not being completely shown in some cases
loadConfigurationFile ( Symfony\Component\Console\Input\InputInterface $input, IndexedServiceContainer $container )
parseConfigurationFile ( Symfony\Component\Console\Input\InputInterface $input ) : array

Приватные методы

Метод Описание
addPathsToEachSuiteConfig ( string $configDir, array $config ) : array
ensureIsValidMatcherClass ( $class )
extractConfigFromFirstParsablePath ( array $paths ) : array
loadExtension ( PhpSpec\ServiceContainer $container, $extensionClass, $config )
parseConfigFromExistingPath ( string $path ) : array
registerCustomMatchers ( IndexedServiceContainer $container, array $matchersClassnames )

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

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

public __construct ( string $version )
$version string

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

public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат integer

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

public getContainer ( ) : PhpSpec\ServiceContainer
Результат PhpSpec\ServiceContainer

getDefaultInputDefinition() защищенный Метод

Fixes an issue with definitions of the no-interaction option not being completely shown in some cases

loadConfigurationFile() защищенный Метод

protected loadConfigurationFile ( Symfony\Component\Console\Input\InputInterface $input, IndexedServiceContainer $container )
$input Symfony\Component\Console\Input\InputInterface
$container PhpSpec\ServiceContainer\IndexedServiceContainer

parseConfigurationFile() защищенный Метод

protected parseConfigurationFile ( Symfony\Component\Console\Input\InputInterface $input ) : array
$input Symfony\Component\Console\Input\InputInterface
Результат array