interface ServiceProviderInterface

Interface that all Silex service providers must implement.

Methods

register(Application $app)

Registers services on the given app.

boot(Application $app)

Bootstraps the application.

Details

at line 27
register(Application $app)

Registers services on the given app.

This method should only be used to configure services and parameters. It should not get services.

Parameters

Application $app

at line 36
boot(Application $app)

Bootstraps the application.

This method is called after all services are registered and should be used for "dynamic" configuration (whenever a service must be requested).

Parameters

Application $app