Model/Search.php
public function setUpdatedRange($updatedRange)
    {
        if ($updatedRange instanceof DateTimeRange) {
            $this->updatedRange = $updatedRange;
        } elseif (is_array($updatedRange)) {
            $this->updatedRange = new DateTimeRange($updatedRange);
        } else {
            $this->updatedRange = null;
            trigger_error('Argument must be an object of class DateTimeRange. Data loss!', E_USER_WARNING);
        }

        return $this;
    }
public function setUpdatedRange($updatedRange)
    {
        if ($updatedRange instanceof DateTimeRange) {
            $this->updatedRange = $updatedRange;
        } elseif (is_array($updatedRange)) {
            $this->updatedRange = new DateTimeRange($updatedRange);
        } else {
            $this->updatedRange = null;
            trigger_error('Argument must be an object of class DateTimeRange. Data loss!', E_USER_WARNING);
        }

        return $this;
    }
public function setUpdatedRange ( $ updatedRange ) { if ( $ updatedRange instanceof DateTimeRange ) { $ this -> updatedRange = $ updatedRange ; } elseif ( is_array ( $ updatedRange ) ) { $ this -> updatedRange = new DateTimeRange ( $ updatedRange ) ; } else { $ this -> updatedRange = null ; trigger_error ( 'Argument must be an object of class DateTimeRange. Data loss!' , E_USER_WARNING ) ; } return $ this ; }
Sets the "updatedRange" of the Search.

@param DateTimeRange $updatedRange

@return Search
Sets the updatedRange of the Search .