PHP Interface Dumplie\SharedKernel\Application\Extension

ファイルを表示 Open project: dumplie/dumplie Interface Usage Examples

Public Methods

Method Description
boot ( Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator ) Executed immediately after initialization of ServiceLocator it's the first place where CommandExtensions can be registered.
build ( Dumplie\SharedKernel\Application\ServiceContainer $serviceContainer ) Used to register services in ServiceContainer
dependsOn ( ) : array List of class names of extensions that this one depends on.

Method Details

boot() public method

Executed immediately after initialization of ServiceLocator it's the first place where CommandExtensions can be registered.
public boot ( Dumplie\SharedKernel\Application\ServiceLocator $serviceLocator )
$serviceLocator Dumplie\SharedKernel\Application\ServiceLocator

build() public method

Used to register services in ServiceContainer
public build ( Dumplie\SharedKernel\Application\ServiceContainer $serviceContainer )
$serviceContainer Dumplie\SharedKernel\Application\ServiceContainer

dependsOn() public method

[ \Dumplie\SharedKernel\Application\Extension\CoreExtension::class ]
public dependsOn ( ) : array
return array