interface ServiceProviderInterface (View source)

Defines the contract for framework service providers.

Service providers register services, aliases and related dependencies in the application container during framework bootstrap.

Methods

void

Registers the provider's services in the application container.

void

Details

register

void register(ContainerBuilderInterface $container)

Registers the provider's services in the application container.

Parameters

ContainerBuilderInterface $container

Container definition builder.

Return Value

void