class ExceptionsServiceProvider implements ServiceProviderInterface (View source)

Provide exceptions dependencies.

Traits

Allows objects to extend the config.

Methods

void
extendConfig(Container $container, string $key, mixed $default)

Extends the WP Emerge config in the container with a new key.

void
register(Container $container)

Register all dependencies in the IoC container.

void
bootstrap(Container $container)

Bootstrap any services if needed.

Details

void extendConfig(Container $container, string $key, mixed $default)

Extends the WP Emerge config in the container with a new key.

Parameters

Container $container
string $key
mixed $default

Return Value

void

void register(Container $container)

Register all dependencies in the IoC container.

Parameters

Container $container

Return Value

void

void bootstrap(Container $container)

Bootstrap any services if needed.

Parameters

Container $container

Return Value

void