PHP Interface Kraken\Container\ServiceProviderInterface

Afficher le fichier Open project: kraken-php/framework Interface Usage Examples

Méthodes publiques

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

Method Details

bootProvider() public méthode

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

getProvides() public méthode

Return list of Provider's provided dependencies.
public getProvides ( ) : string[]
Résultat string[]

getRequires() public méthode

Return list of Provider's required dependencies.
public getRequires ( ) : string[]
Résultat string[]

isBooted() public méthode

Return bool value representing whether Provider was already booted.
public isBooted ( ) : boolean
Résultat boolean

isRegistered() public méthode

Return bool value representing whether Provider was already registered.
public isRegistered ( ) : boolean
Résultat boolean

registerProvider() public méthode

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

unregisterProvider() public méthode

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