| 1 | <?php |
||
| 9 | class RowMatch |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | protected $startInNew; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var int |
||
| 18 | */ |
||
| 19 | protected $startInOld; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | protected $endInNew; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var int |
||
| 28 | */ |
||
| 29 | protected $endInOld; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var int|null |
||
| 33 | */ |
||
| 34 | protected $percentage; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * RowMatch constructor. |
||
| 38 | * |
||
| 39 | * @param $startInNew |
||
| 40 | * @param $startInOld |
||
| 41 | * @param $endInNew |
||
| 42 | * @param $endInOld |
||
| 43 | */ |
||
| 44 | public function __construct($startInNew = 0, $startInOld = 0, $endInNew = 0, $endInOld = 0, $percentage = null) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return int |
||
| 55 | */ |
||
| 56 | public function getStartInNew() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @param int $startInNew |
||
| 63 | * |
||
| 64 | * @return RowMatch |
||
| 65 | */ |
||
| 66 | public function setStartInNew($startInNew) |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @return int |
||
| 75 | */ |
||
| 76 | public function getStartInOld() |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @param int $startInOld |
||
| 83 | * |
||
| 84 | * @return RowMatch |
||
| 85 | */ |
||
| 86 | public function setStartInOld($startInOld) |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @return int |
||
| 95 | */ |
||
| 96 | public function getEndInNew() |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @param int $endInNew |
||
| 103 | * |
||
| 104 | * @return RowMatch |
||
| 105 | */ |
||
| 106 | public function setEndInNew($endInNew) |
||
| 112 | |||
| 113 | /** |
||
| 114 | * @return int |
||
| 115 | */ |
||
| 116 | public function getEndInOld() |
||
| 120 | |||
| 121 | /** |
||
| 122 | * @param int $endInOld |
||
| 123 | * |
||
| 124 | * @return RowMatch |
||
| 125 | */ |
||
| 126 | public function setEndInOld($endInOld) |
||
| 132 | |||
| 133 | |||
| 134 | } |
||
| 135 |