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