| 1 | <?php |
||
| 5 | class RowMatch |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var int |
||
| 9 | */ |
||
| 10 | protected $startInNew; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | protected $startInOld; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | protected $endInNew; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | protected $endInOld; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var int|null |
||
| 29 | */ |
||
| 30 | protected $percentage; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * RowMatch constructor. |
||
| 34 | * |
||
| 35 | * @param $startInNew |
||
| 36 | * @param $startInOld |
||
| 37 | * @param $endInNew |
||
| 38 | * @param $endInOld |
||
| 39 | */ |
||
| 40 | public function __construct($startInNew = 0, $startInOld = 0, $endInNew = 0, $endInOld = 0, $percentage = null) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return int |
||
| 51 | */ |
||
| 52 | public function getStartInNew() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param int $startInNew |
||
| 59 | * |
||
| 60 | * @return RowMatch |
||
| 61 | */ |
||
| 62 | public function setStartInNew($startInNew) |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return int |
||
| 71 | */ |
||
| 72 | public function getStartInOld() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @param int $startInOld |
||
| 79 | * |
||
| 80 | * @return RowMatch |
||
| 81 | */ |
||
| 82 | public function setStartInOld($startInOld) |
||
| 88 | |||
| 89 | /** |
||
| 90 | * @return int |
||
| 91 | */ |
||
| 92 | public function getEndInNew() |
||
| 96 | |||
| 97 | /** |
||
| 98 | * @param int $endInNew |
||
| 99 | * |
||
| 100 | * @return RowMatch |
||
| 101 | */ |
||
| 102 | public function setEndInNew($endInNew) |
||
| 108 | |||
| 109 | /** |
||
| 110 | * @return int |
||
| 111 | */ |
||
| 112 | public function getEndInOld() |
||
| 116 | |||
| 117 | /** |
||
| 118 | * @param int $endInOld |
||
| 119 | * |
||
| 120 | * @return RowMatch |
||
| 121 | */ |
||
| 122 | public function setEndInOld($endInOld) |
||
| 128 | |||
| 129 | |||
| 130 | } |
||
| 131 |