final class InjectConfiguration (View source)

Used to enable property injection for configuration including settings.

Flow will build Dependency Injection code for the property and try to inject the configured configuration.

Properties

string $path

Path of a configuration which should be injected into the property.

string $package

Defines the package key to be used for retrieving settings. If no package key is specified, we'll assume the package to be the same which contains the class where the InjectConfiguration annotation is used.

string $type

Type of Configuration (defaults to "Settings").

Methods

__construct(array $values)

No description

Details

__construct(array $values)

No description

Parameters

array $values