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.
Synopsis
Section titled “Synopsis”final class Autowire
| Source | DI/Attribute/Autowire.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$value | mixed |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(mixed $value): mixed
| Parameter | Type | Description |
|---|---|---|
$value | mixed |
Returns mixed