PHP Class Thelia\Command\ContainerAwareCommand

Author: Fabien Potencier ([email protected])
Author: Gilles Bourgeat ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command, implements Symfony\Component\DependencyInjection\ContainerAwareInterface
Afficher le fichier Open project: thelia/thelia Class Usage Examples

Méthodes publiques

Méthode Description
getDispatcher ( ) : EventDispatcher
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )

Méthodes protégées

Méthode Description
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

Method Details

getBaseUrl() protected méthode

Since: 2.3
protected getBaseUrl ( Thelia\Model\Lang $lang = null ) : string
$lang Thelia\Model\Lang
Résultat string

getContainer() protected méthode

protected getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
Résultat Symfony\Component\DependencyInjection\ContainerInterface

getDispatcher() public méthode

public getDispatcher ( ) : EventDispatcher
Résultat Symfony\Component\EventDispatcher\EventDispatcher

initRequest() protected méthode

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

setContainer() public méthode

See also: ContainerAwareInterface::setContainer()
public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface