public function overlaps(IntervalInterface $interval)
    {
        $startDate = $interval->getStart();
        $endDate   = $interval->getEnd();

        return $this->checkOverlaping($startDate, $endDate);
    }
public function overlaps(IntervalInterface $interval)
    {
        $startDate = $interval->getStart();
        $endDate   = $interval->getEnd();

        return $this->checkOverlaping($startDate, $endDate);
    }
public function overlaps ( IntervalInterface $ interval ) { $ startDate = $ interval -> getStart ( ) ; $ endDate = $ interval -> getEnd ( ) ; return $ this -> checkOverlaping ( $ startDate , $ endDate ) ; }
Checks if the interval overlaps another interval
@param IntervalInterface $interval
@return bool true if overal occurs
Checks if the interval overlaps another interval