HOME


Mini Shell 1.0
DIR:/usr/local/cwpsrv/var/services/roundcube/plugins/libkolab/vendor/Caxy/HtmlDiff/
Upload File :
Current File : //usr/local/cwpsrv/var/services/roundcube/plugins/libkolab/vendor/Caxy/HtmlDiff/Match.php
<?php

namespace Caxy\HtmlDiff;

class Match
{
    public $startInOld;
    public $startInNew;
    public $size;

    public function __construct($startInOld, $startInNew, $size)
    {
        $this->startInOld = $startInOld;
        $this->startInNew = $startInNew;
        $this->size = $size;
    }

    public function endInOld()
    {
        return $this->startInOld + $this->size;
    }

    public function endInNew()
    {
        return $this->startInNew + $this->size;
    }
}