EC-CUBE4 APIドキュメント

ServiceProviderInterface

Interface that all Silex service providers must implement.

Tags
author

Fabien Potencier [email protected]

see
https://github.com/silexphp/Silex/blob/1.3/src/Silex/ServiceProviderInterface.php

Table of Contents

register() Registers services on the given app. mixed
boot() Bootstraps the application. mixed

Methods

register()

Registers services on the given app.

public register( $app : Application ) : mixed

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

Parameters
$app : Application
Return values
mixed

boot()

Bootstraps the application.

public boot( $app : Application ) : mixed

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

Parameters
$app : Application
Return values
mixed

Search results