1 | <?php declare(strict_types = 1); |
||
16 | class ArgumentResolverException extends RuntimeException implements ContainerExceptionInterface |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * @var ReflectionFunctionAbstract |
||
21 | */ |
||
22 | private $function; |
||
23 | |||
24 | /** |
||
25 | * @var ReflectionParameter |
||
26 | */ |
||
27 | private $parameter; |
||
28 | |||
29 | /** |
||
30 | * ArgumentResolveException constructor. |
||
31 | * |
||
32 | * @param ReflectionParameter $parameter |
||
33 | * @param ReflectionFunctionAbstract $function |
||
34 | * @param null $previous |
||
35 | */ |
||
36 | public function __construct(ReflectionParameter $parameter, ReflectionFunctionAbstract $function, $previous = null) |
||
42 | |||
43 | /** |
||
44 | * @return ReflectionFunctionAbstract |
||
45 | */ |
||
46 | public function getFunction(): ReflectionFunctionAbstract |
||
50 | |||
51 | /** |
||
52 | * @return ReflectionParameter |
||
53 | */ |
||
54 | public function getParameter(): ReflectionParameter |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | protected function createMessage(): string |
||
71 | |||
72 | } |