PHP 클래스 Pagekit\Application\Console\Application

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

보호된 프로퍼티들

프로퍼티 타입 설명
$container Pagekit\Application The Pagekit application instance.

공개 메소드들

메소드 설명
__construct ( Pagekit\Application $container, string $name = 'UNKNOWN', $version = 'UNKNOWN' ) Constructor.
add ( Command $command ) : Command Add a command to the console.
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Pagekit\Application $container, string $name = 'UNKNOWN', $version = 'UNKNOWN' )
$container Pagekit\Application
$name string

add() 공개 메소드

Add a command to the console.
public add ( Command $command ) : Command
$command Symfony\Component\Console\Command\Command
리턴 Symfony\Component\Console\Command\Command

run() 공개 메소드

public run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

프로퍼티 상세

$container 보호되어 있는 프로퍼티

The Pagekit application instance.
protected Application,Pagekit $container
리턴 Pagekit\Application