PHP 클래스 SebastianBergmann\PHPLOC\CLI\Application

상속: extends Symfony\Component\Console\Application
파일 보기 프로젝트 열기: sebastianbergmann/phploc

공개 메소드들

메소드 설명
__construct ( )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer Runs the current application.
getDefinition ( ) Overridden so that the application doesn't expect the command name to be the first argument.

보호된 메소드들

메소드 설명
getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string Gets the name of the command based on input.
getDefaultCommands ( ) : array Gets the default commands that should always be available.

비공개 메소드들

메소드 설명
disableXdebug ( )

메소드 상세

__construct() 공개 메소드

public __construct ( )

doRun() 공개 메소드

Runs the current application.
public doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface An Input instance
$output Symfony\Component\Console\Output\OutputInterface An Output instance
리턴 integer 0 if everything went fine, or an error code

getCommandName() 보호된 메소드

Gets the name of the command based on input.
protected getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string
$input Symfony\Component\Console\Input\InputInterface The input interface
리턴 string The command name

getDefaultCommands() 보호된 메소드

Gets the default commands that should always be available.
protected getDefaultCommands ( ) : array
리턴 array An array of default Command instances

getDefinition() 공개 메소드

Overridden so that the application doesn't expect the command name to be the first argument.
public getDefinition ( )