trait ExtendsConfigTrait (View source)

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.

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