Property | Type | Description | |
---|---|---|---|
$kernel | Symfony\Component\HttpKernel\KernelInterface |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
get ( string $reference ) : object | Gets a service by id. | |
getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface | ||
getKernel ( ) : Kernel | ||
has ( string $reference ) : boolean | Returns true if the service id is defined. | |
passContainerToModels ( ) | This is fairly dirty, but so is having static method classes for models. | |
setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel = null ) |
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
public getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface | ||
return | Symfony\Component\DependencyInjection\ContainerInterface |
public passContainerToModels ( ) |
public setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel = null ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |