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

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

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

@param DateTimeRange $deploymentDateRange

@return Search
Sets the deploymentDateRange of the Search .