PHP Class PhpSpec\Console\Application

Inheritance: extends Symfony\Component\Console\Application
Afficher le fichier Open project: phpspec/phpspec Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $version )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
getContainer ( ) : PhpSpec\ServiceContainer

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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 )

Method Details

__construct() public méthode

public __construct ( string $version )
$version string

doRun() public méthode

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
Résultat integer

getContainer() public méthode

public getContainer ( ) : PhpSpec\ServiceContainer
Résultat PhpSpec\ServiceContainer

getDefaultInputDefinition() protected méthode

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

loadConfigurationFile() protected méthode

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

parseConfigurationFile() protected méthode

protected parseConfigurationFile ( Symfony\Component\Console\Input\InputInterface $input ) : array
$input Symfony\Component\Console\Input\InputInterface
Résultat array