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.


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").


__construct(array $values)

No description


__construct(array $values)

No description


array $values