1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the Micro framework package. |
||
5 | * |
||
6 | * (c) Stanislau Komar <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace Micro\Component\DependencyInjection\Autowire; |
||
13 | |||
14 | use Psr\Container\ContainerInterface; |
||
15 | |||
16 | readonly class AutowireHelperFactory implements AutowireHelperFactoryInterface |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
17 | { |
||
18 | 19 | public function __construct(private ContainerInterface $container) |
|
19 | { |
||
20 | 19 | } |
|
21 | |||
22 | 19 | public function create(): AutowireHelperInterface |
|
23 | { |
||
24 | 19 | return new AutowireHelper($this->container); |
|
25 | } |
||
26 | } |
||
27 |