1 | <?php |
||
14 | class ArgumentException extends AutowireException |
||
15 | { |
||
16 | /** |
||
17 | * Parameter caused error. |
||
18 | * |
||
19 | * @var \ReflectionParameter |
||
20 | */ |
||
21 | protected $parameter = null; |
||
22 | |||
23 | /** |
||
24 | * Context method or constructor or function. |
||
25 | * |
||
26 | * @var \ReflectionFunctionAbstract |
||
27 | */ |
||
28 | protected $context = null; |
||
29 | |||
30 | /** |
||
31 | * @param \ReflectionParameter $parameter |
||
32 | * @param \ReflectionFunctionAbstract $context |
||
33 | */ |
||
34 | 7 | public function __construct( |
|
48 | |||
49 | /** |
||
50 | * @return \ReflectionParameter |
||
51 | */ |
||
52 | 1 | public function getParameter() |
|
56 | |||
57 | /** |
||
58 | * @return \ReflectionFunctionAbstract |
||
59 | */ |
||
60 | 1 | public function getContext() |
|
64 | } |
||
65 |