Silex API
Class

Silex\Provider\DoctrineServiceProvider

class DoctrineServiceProvider implements ServiceProviderInterface

Doctrine DBAL Provider.

Methods

register(Application $app)

Registers services on the given app.

boot(Application $app)

Bootstraps the application.

Details

at line 28
public 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 An Application instance

at line 129
public boot(Application $app)

Bootstraps the application.

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

Parameters

Application $app