Skip to content

Autowire

Parameter-level override: inject this literal scalar/config value instead of autowiring by type.

Use for the <ae:parameter>-style values (cookie names, table names, modes) that have no type to autowire against.

final class Autowire

SourceDI/Attribute/Autowire.php
PropertyTypeDescription
$valuemixed

public function __construct(mixed $value): mixed

ParameterTypeDescription
$valuemixed

Returns mixed