src/ExpressiveDate.php
protected function modifyFromInterval($interval, $invert = false)
	{
		if ($invert)
		{
			$this->sub($interval);
		}
		else
		{
			$this->add($interval);
		}

		return $this;
	}
protected function modifyFromInterval($interval, $invert = false)
	{
		if ($invert)
		{
			$this->sub($interval);
		}
		else
		{
			$this->add($interval);
		}

		return $this;
	}
protected function modifyFromInterval ( $ interval , $ invert = false ) { if ( $ invert ) { $ this -> sub ( $ interval ) ; } else { $ this -> add ( $ interval ) ; } return $ this ; }
Modify from a DateInterval object.

@param  DateInterval  $interval
@param  bool  $invert
@return ExpressiveDate
Modify from a DateInterval object .