PHP 인터페이스 Kraken\Container\ServiceProviderInterface

파일 보기 프로젝트 열기: kraken-php/framework 0 사용 예제들

공개 메소드들

메소드 설명
bootProvider ( ContainerInterface $container ) Boot Provider.
getProvides ( ) : string[] Return list of Provider's provided dependencies.
getRequires ( ) : string[] Return list of Provider's required dependencies.
isBooted ( ) : boolean Return bool value representing whether Provider was already booted.
isRegistered ( ) : boolean Return bool value representing whether Provider was already registered.
registerProvider ( ContainerInterface $container ) Register Provider.
unregisterProvider ( ContainerInterface $container ) Unregister Provider

메소드 상세

bootProvider() 공개 메소드

This method boots Provider and calls its ::boot() method.
public bootProvider ( ContainerInterface $container )
$container ContainerInterface

getProvides() 공개 메소드

Return list of Provider's provided dependencies.
public getProvides ( ) : string[]
리턴 string[]

getRequires() 공개 메소드

Return list of Provider's required dependencies.
public getRequires ( ) : string[]
리턴 string[]

isBooted() 공개 메소드

Return bool value representing whether Provider was already booted.
public isBooted ( ) : boolean
리턴 boolean

isRegistered() 공개 메소드

Return bool value representing whether Provider was already registered.
public isRegistered ( ) : boolean
리턴 boolean

registerProvider() 공개 메소드

This method registers Provider and calls its ::register() method.
public registerProvider ( ContainerInterface $container )
$container ContainerInterface

unregisterProvider() 공개 메소드

This method unregisters Provider and calls its ::unregister() method.
public unregisterProvider ( ContainerInterface $container )
$container ContainerInterface