*** # AutowireContainer A composite container implementation that wraps another PSR-11 container and appends an internal PHP-DI autowiring container. It provides auto-resolution of services while maintaining compatibility with pre-defined service providers. This container MUST be used in scenarios where automatic dependency resolution via autowiring is required alongside explicitly registered services. * Full name: `\FastForward\Container\AutowireContainer` * This class is marked as **final** and can't be subclassed * This class implements: [`\FastForward\Container\ContainerInterface`](./ContainerInterface.md) * This class is a **Final class** ## Methods ### __construct Constructs the AutowireContainer. ```php public __construct(\Psr\Container\ContainerInterface $delegateContainer): mixed ``` If the provided container is not an AggregateContainer, it is wrapped within one. A PHP-DI container is appended to the aggregate to support autowiring. **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$delegateContainer` | **\Psr\Container\ContainerInterface** | the delegate container to wrap and extend | *** ### get Retrieves an entry from the container by its identifier. ```php public get(string $id): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$id` | **string** | identifier of the entry to retrieve | **Return Value:** the resolved entry **Throws:**

if the identifier is not found

- [`NotFoundExceptionInterface`](../../Psr/Container/NotFoundExceptionInterface.md)

if the entry cannot be resolved

- [`ContainerExceptionInterface`](../../Psr/Container/ContainerExceptionInterface.md) *** ### has ```php public has(string $id): bool ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$id` | **string** | | *** *** > Automatically generated on 2025-07-03