BootableServiceProviderInterface
extends
ServiceProviderInterface
in
Table of Contents
Methods
- boot() : void
- Method will be invoked on registration of a service provider implementing this interface. Provides ability for eager loading of Service Providers.
- getContainer() : DefinitionContainerInterface
- getIdentifier() : string
- provides() : bool
- register() : void
- setContainer() : ContainerAwareInterface
- setIdentifier() : ServiceProviderInterface
Methods
boot()
Method will be invoked on registration of a service provider implementing this interface. Provides ability for eager loading of Service Providers.
public
boot() : void
getContainer()
public
getContainer() : DefinitionContainerInterface
Return values
DefinitionContainerInterfacegetIdentifier()
public
getIdentifier() : string
Return values
stringprovides()
public
provides(string $id) : bool
Parameters
- $id : string
Return values
boolregister()
public
register() : void
setContainer()
public
setContainer(DefinitionContainerInterface $container) : ContainerAwareInterface
Parameters
- $container : DefinitionContainerInterface
Return values
ContainerAwareInterfacesetIdentifier()
public
setIdentifier(string $id) : ServiceProviderInterface
Parameters
- $id : string