PHP Интерфейс Dumplie\SharedKernel\Application\Extension

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

boot() публичный Метод

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() публичный Метод

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

dependsOn() публичный Метод

[ \Dumplie\SharedKernel\Application\Extension\CoreExtension::class ]
public dependsOn ( ) : array
Результат array