PHP Class Eccube\ServiceProvider\EccubeServiceProvider

Inheritance: implements Silex\ServiceProviderInterface
Show file Open project: ec-cube/ec-cube

Public Methods

Method Description
boot ( Silex\Application $app ) Bootstraps the application.
register ( Silex\Application $app ) Registers services on the given app.

Method Details

boot() public method

This method is called after all services are registered and should be used for "dynamic" configuration (whenever a service must be requested).
public boot ( Silex\Application $app )
$app Silex\Application

register() public method

This method should only be used to configure services and parameters. It should not get services.
public register ( Silex\Application $app )
$app Silex\Application An Application instance