Total Complexity | 4 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class EiTuple |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var mixed |
||
10 | */ |
||
11 | private $first; |
||
12 | |||
13 | /** |
||
14 | * @var mixed |
||
15 | */ |
||
16 | private $second; |
||
17 | |||
18 | /** |
||
19 | * @return mixed |
||
20 | */ |
||
21 | public function getFirst() |
||
22 | { |
||
23 | return $this->first; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param mixed $first |
||
28 | * @return EiTuple |
||
29 | */ |
||
30 | public function withFirst($first) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return mixed |
||
40 | */ |
||
41 | public function getSecond() |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @param mixed $second |
||
48 | * @return EiTuple |
||
49 | */ |
||
50 | public function withSecond($second) |
||
61 |