Silex API
Class

Silex\Provider\SwiftmailerServiceProvider

class SwiftmailerServiceProvider implements ServiceProviderInterface

Swiftmailer Provider.

Methods

register(Application $app)

Registers services on the given app.

boot(Application $app)

Bootstraps the application.

Details

at line 24
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 87
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