Метод | Описание | |
---|---|---|
get ( string $reference ) : object | Gets a service by id. | |
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface | ||
has ( string $reference ) : boolean | Returns true if the service id is defined. | |
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null ) |
public static getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface | ||
Результат | Symfony\Component\DependencyInjection\ContainerInterface |
public static setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null ) | ||
$container | Symfony\Component\DependencyInjection\ContainerInterface |