| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class ArgumentException extends AutowireException |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Parameter caused error. |
||
| 25 | * |
||
| 26 | * @var ReflectionParameter |
||
| 27 | */ |
||
| 28 | protected $parameter; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Context method or constructor or function. |
||
| 32 | * |
||
| 33 | * @var ReflectionFunctionAbstract |
||
| 34 | */ |
||
| 35 | protected $context; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param ReflectionParameter $parameter |
||
| 39 | * @param ReflectionFunctionAbstract $context |
||
| 40 | */ |
||
| 41 | public function __construct(ReflectionParameter $parameter, ReflectionFunctionAbstract $context) |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return ReflectionParameter |
||
| 56 | */ |
||
| 57 | public function getParameter(): ReflectionParameter |
||
| 58 | { |
||
| 59 | return $this->parameter; |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return ReflectionFunctionAbstract |
||
| 64 | */ |
||
| 65 | public function getContext(): ReflectionFunctionAbstract |
||
| 68 | } |
||
| 69 | } |
||
| 70 |