| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class ArgumentParserFactory implements ArgumentParserFactoryInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Create object with parser for service argument |
||
| 26 | * |
||
| 27 | * @param ContainerInterface $container Dependency injection container for services |
||
| 28 | * @param string $id Service identifier |
||
| 29 | * @param array $argument Service argument to parse |
||
| 30 | * @throws Exception |
||
| 31 | * @return ArgumentParserInterface Object with service argument parser |
||
| 32 | * @see \Kocuj\Di\ArgumentParser\ArgumentParserInterface::create() |
||
| 33 | * @codeCoverageIgnore |
||
| 34 | */ |
||
| 35 | public function create(ContainerInterface $container, string $id, array $argument): ArgumentParserInterface |
||
| 48 |