PHP 클래스 PhpSpec\Console\Application

상속: extends Symfony\Component\Console\Application
파일 보기 프로젝트 열기: phpspec/phpspec 1 사용 예제들

공개 메소드들

메소드 설명
__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