interface ServiceProviderInterface

Interface ServiceProviderInterface

Use this to encapsulate a service.

Methods

void
register( ServiceContainer $app)

Launch actions when the service is registered in the container

void
boot( ServiceContainer $app)

Launch actions when the service is created

void
terminate( ServiceContainer $app)

Launch actions when the service is destructed

Details

at line 41
void register( ServiceContainer $app)

Launch actions when the service is registered in the container

Parameters

ServiceContainer $app

Return Value

void

at line 49
void boot( ServiceContainer $app)

Launch actions when the service is created

Parameters

ServiceContainer $app

Return Value

void

at line 57
void terminate( ServiceContainer $app)

Launch actions when the service is destructed

Parameters

ServiceContainer $app

Return Value

void