Version 1
[yaffs-website] / vendor / caxy / php-htmldiff / lib / Caxy / HtmlDiff / Table / TableMatch.php
diff --git a/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TableMatch.php b/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TableMatch.php
new file mode 100644 (file)
index 0000000..af3c5d0
--- /dev/null
@@ -0,0 +1,74 @@
+<?php
+
+namespace Caxy\HtmlDiff\Table;
+
+/**
+ * Class TableMatch.
+ */
+class TableMatch
+{
+    /**
+     * @var int
+     */
+    public $startInOld;
+    /**
+     * @var int
+     */
+    public $startInNew;
+    /**
+     * @var int
+     */
+    public $endInOld;
+    /**
+     * @var int
+     */
+    public $endInNew;
+
+    /**
+     * TableMatch constructor.
+     *
+     * @param int $startInOld
+     * @param int $startInNew
+     * @param int $endInOld
+     * @param int $endInNew
+     */
+    public function __construct($startInOld, $startInNew, $endInOld, $endInNew)
+    {
+        $this->startInOld = $startInOld;
+        $this->startInNew = $startInNew;
+        $this->endInOld = $endInOld;
+        $this->endInNew = $endInNew;
+    }
+
+    /**
+     * @return int
+     */
+    public function getStartInOld()
+    {
+        return $this->startInOld;
+    }
+
+    /**
+     * @return int
+     */
+    public function getStartInNew()
+    {
+        return $this->startInNew;
+    }
+
+    /**
+     * @return int
+     */
+    public function getEndInOld()
+    {
+        return $this->endInOld;
+    }
+
+    /**
+     * @return int
+     */
+    public function getEndInNew()
+    {
+        return $this->endInNew;
+    }
+}