1 | <?php |
||
5 | class Resolution |
||
6 | { |
||
7 | /** |
||
8 | * @var int |
||
9 | */ |
||
10 | private $position; |
||
11 | |||
12 | /** |
||
13 | * @var mixed |
||
14 | */ |
||
15 | private $value; |
||
16 | |||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | private $priority; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $argumentName; |
||
26 | |||
27 | /** |
||
28 | * @param int $position |
||
29 | * @param mixed $value |
||
30 | * @param int $priority |
||
31 | */ |
||
32 | public function __construct($position, $argumentName, $value, $priority) |
||
39 | |||
40 | /** |
||
41 | * @return mixed |
||
42 | */ |
||
43 | public function value() |
||
47 | |||
48 | /** |
||
49 | * @return int |
||
50 | */ |
||
51 | public function position() |
||
55 | |||
56 | /** |
||
57 | * @return int |
||
58 | */ |
||
59 | public function priority() |
||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function argumentName() |
||
71 | } |
||
72 |