PHP 클래스 Gush\Application

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

보호된 프로퍼티들

프로퍼티 타입 설명
$adapter null | Gush\Adapter\Adapter
$adapterFactory Gush\Factory\AdapterFactory
$config The configuration file
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher
$issueTracker null | Gush\Adapter\IssueTracker

공개 메소드들

메소드 설명
__construct ( AdapterFactory $adapterFactory, Config $config, $version = '@package_version@' )
getAdapter ( ) : Gush\Adapter\Adapter Get the Repository adapter.
getAdapterFactory ( ) : AdapterFactory
getCommands ( ) : Command[]
getConfig ( ) : Config Get the application configuration.
getDispatcher ( ) : EventDispatcher
getHelp ( ) : string
getIssueTracker ( ) : Gush\Adapter\IssueTracker Get the IssueTracker adapter.
getSupportedMetaFiles ( )
setAdapter ( Gush\Adapter\Adapter $adapter ) Set the Repository Adapter.
setIssueTracker ( Gush\Adapter\IssueTracker $issueTracker ) Set the IssueTracker Adapter.

보호된 메소드들

메소드 설명
doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getDefaultHelperSet ( )
registerSubscribers ( )

메소드 상세

__construct() 공개 메소드

public __construct ( AdapterFactory $adapterFactory, Config $config, $version = '@package_version@' )
$adapterFactory Gush\Factory\AdapterFactory
$config Config

doRunCommand() 보호된 메소드

protected doRunCommand ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getAdapter() 공개 메소드

Get the Repository adapter.
public getAdapter ( ) : Gush\Adapter\Adapter
리턴 Gush\Adapter\Adapter

getAdapterFactory() 공개 메소드

public getAdapterFactory ( ) : AdapterFactory
리턴 Gush\Factory\AdapterFactory

getCommands() 공개 메소드

public getCommands ( ) : Command[]
리턴 Symfony\Component\Console\Command\Command[]

getConfig() 공개 메소드

Get the application configuration.
public getConfig ( ) : Config
리턴 Config

getDefaultHelperSet() 보호된 메소드

protected getDefaultHelperSet ( )

getDispatcher() 공개 메소드

public getDispatcher ( ) : EventDispatcher
리턴 Symfony\Component\EventDispatcher\EventDispatcher

getHelp() 공개 메소드

public getHelp ( ) : string
리턴 string

getIssueTracker() 공개 메소드

Get the IssueTracker adapter.
public getIssueTracker ( ) : Gush\Adapter\IssueTracker
리턴 Gush\Adapter\IssueTracker

getSupportedMetaFiles() 공개 메소드

registerSubscribers() 보호된 메소드

protected registerSubscribers ( )

setAdapter() 공개 메소드

Set the Repository Adapter.
public setAdapter ( Gush\Adapter\Adapter $adapter )
$adapter Gush\Adapter\Adapter

setIssueTracker() 공개 메소드

Set the IssueTracker Adapter.
public setIssueTracker ( Gush\Adapter\IssueTracker $issueTracker )
$issueTracker Gush\Adapter\IssueTracker

프로퍼티 상세

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

protected null|Adapter,Gush\Adapter $adapter
리턴 null | Gush\Adapter\Adapter

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

protected AdapterFactory,Gush\Factory $adapterFactory
리턴 Gush\Factory\AdapterFactory

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

The configuration file
protected $config

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

protected EventDispatcher,Symfony\Component\EventDispatcher $dispatcher
리턴 Symfony\Component\EventDispatcher\EventDispatcher

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

protected null|IssueTracker,Gush\Adapter $issueTracker
리턴 null | Gush\Adapter\IssueTracker