protected function valueIsSet($message = 'Object is undefined') { if ($this->analyzer->isObject(parent::valueIsSet($message)->value) === false) { throw new exceptions\logic($message); } return $this; }
protected function valueIsSet($message = 'Interval is undefined') { if (self::isDateInterval(parent::valueIsSet($message)->value) === false) { throw new exceptions\logic($message); } return $this; }