1 | <?php declare(strict_types = 1); |
||
15 | class UnresolvableDependencyException extends ContainerException |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @inheritDoc |
||
20 | * @param ArgumentResolverException $previous |
||
21 | */ |
||
22 | public function __construct($entryId, array $referenceChain, ArgumentResolverException $previous) |
||
26 | |||
27 | /** |
||
28 | * @inheritDoc |
||
29 | * @param ArgumentResolverException $argumentResolveException |
||
30 | */ |
||
31 | protected function createMessage(Exception $argumentResolveException = null): string |
||
41 | |||
42 | /** |
||
43 | * Formats function declaration depending on method/function type. |
||
44 | * |
||
45 | * @param ReflectionFunctionAbstract $function |
||
46 | * @return string |
||
47 | */ |
||
48 | private function formatFunction(ReflectionFunctionAbstract $function) |
||
54 | |||
55 | /** |
||
56 | * Formats parameter depending on type |
||
57 | * |
||
58 | * @param ReflectionParameter $parameter |
||
59 | * @return string |
||
60 | */ |
||
61 | private function formatParameter(ReflectionParameter $parameter): string |
||
67 | } |