PHP 클래스 Thelia\Command\ContainerAwareCommand

저자: Fabien Potencier ([email protected])
저자: Gilles Bourgeat ([email protected])
상속: extends Symfony\Component\Console\Command\Command, implements Symfony\Component\DependencyInjection\ContainerAwareInterface
파일 보기 프로젝트 열기: thelia/thelia 1 사용 예제들

공개 메소드들

메소드 설명
getDispatcher ( ) : EventDispatcher
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )

보호된 메소드들

메소드 설명
getBaseUrl ( Thelia\Model\Lang $lang = null ) : string
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
initRequest ( Thelia\Model\Lang $lang = null ) For init an Request, if your command has need an Request

메소드 상세

getBaseUrl() 보호된 메소드

부터: 2.3
protected getBaseUrl ( Thelia\Model\Lang $lang = null ) : string
$lang Thelia\Model\Lang
리턴 string

getContainer() 보호된 메소드

protected getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
리턴 Symfony\Component\DependencyInjection\ContainerInterface

getDispatcher() 공개 메소드

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

initRequest() 보호된 메소드

For init an Request, if your command has need an Request
부터: 2.3
protected initRequest ( Thelia\Model\Lang $lang = null )
$lang Thelia\Model\Lang

setContainer() 공개 메소드

또한 보기: ContainerAwareInterface::setContainer()
public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface