Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / caxy / php-htmldiff / lib / Caxy / HtmlDiff / Table / TableMatch.php
1 <?php
2
3 namespace Caxy\HtmlDiff\Table;
4
5 /**
6  * Class TableMatch.
7  */
8 class TableMatch
9 {
10     /**
11      * @var int
12      */
13     public $startInOld;
14     /**
15      * @var int
16      */
17     public $startInNew;
18     /**
19      * @var int
20      */
21     public $endInOld;
22     /**
23      * @var int
24      */
25     public $endInNew;
26
27     /**
28      * TableMatch constructor.
29      *
30      * @param int $startInOld
31      * @param int $startInNew
32      * @param int $endInOld
33      * @param int $endInNew
34      */
35     public function __construct($startInOld, $startInNew, $endInOld, $endInNew)
36     {
37         $this->startInOld = $startInOld;
38         $this->startInNew = $startInNew;
39         $this->endInOld = $endInOld;
40         $this->endInNew = $endInNew;
41     }
42
43     /**
44      * @return int
45      */
46     public function getStartInOld()
47     {
48         return $this->startInOld;
49     }
50
51     /**
52      * @return int
53      */
54     public function getStartInNew()
55     {
56         return $this->startInNew;
57     }
58
59     /**
60      * @return int
61      */
62     public function getEndInOld()
63     {
64         return $this->endInOld;
65     }
66
67     /**
68      * @return int
69      */
70     public function getEndInNew()
71     {
72         return $this->endInNew;
73     }
74 }