Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class QueryServiceDefinitionNotFound extends RuntimeException implements QueryFactoryException |
||
12 | { |
||
13 | private ContainerInterface $container; |
||
14 | /** |
||
15 | * @param ContainerInterface $container |
||
16 | * @param string $definitionName |
||
17 | * @return static |
||
18 | */ |
||
19 | public static function create(ContainerInterface $container, string $definitionName): self |
||
26 | ) |
||
27 | ); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param ContainerInterface $container |
||
32 | * @param string $message |
||
33 | */ |
||
34 | private function __construct(ContainerInterface $container, string $message) |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return ContainerInterface |
||
42 | */ |
||
43 | public function getContainer(): ContainerInterface |
||
48 |