PHP 클래스 Symfony\Bundle\FrameworkBundle\Console\Application

저자: Fabien Potencier ([email protected])
상속: extends Symfony\Components\Console\Application
파일 보기 프로젝트 열기: symfony/symfony 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) Constructor.
all ( $namespace = null )
doRun ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer Runs the current application.
find ( $name )
get ( $name )
getKernel ( ) : Symfony\Component\HttpKernel\KernelInterface Gets the Kernel associated with this Console.
getLongVersion ( )

보호된 메소드들

메소드 설명
registerCommands ( )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface A KernelInterface instance

all() 공개 메소드

public all ( $namespace = null )

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

find() 공개 메소드

public find ( $name )

get() 공개 메소드

public get ( $name )

getKernel() 공개 메소드

Gets the Kernel associated with this Console.
public getKernel ( ) : Symfony\Component\HttpKernel\KernelInterface
리턴 Symfony\Component\HttpKernel\KernelInterface A KernelInterface instance

getLongVersion() 공개 메소드

public getLongVersion ( )

registerCommands() 보호된 메소드

protected registerCommands ( )