PHP 클래스 KernelLoader

파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$kernel Symfony\Component\HttpKernel\KernelInterface

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface

get() 공개 메소드

Gets a service by id.
public get ( string $reference ) : object
$reference string The service id
리턴 object The service

getContainer() 공개 메소드

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

getKernel() 공개 메소드

public getKernel ( ) : Kernel
리턴 Kernel

has() 공개 메소드

Returns true if the service id is defined.
public has ( string $reference ) : boolean
$reference string The service id
리턴 boolean true if the service id is defined, false otherwise

passContainerToModels() 공개 메소드

Consider this a temporary solution until we have genuine models available.

setKernel() 공개 메소드

public setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel = null )
$kernel Symfony\Component\HttpKernel\KernelInterface

프로퍼티 상세

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

protected KernelInterface,Symfony\Component\HttpKernel $kernel
리턴 Symfony\Component\HttpKernel\KernelInterface