Console/Command/Task/AdvancedTask.php
protected function _getInterval($interval) {
		if ($interval !== null) {
			return $interval;
		} elseif (!empty($this->params['interval'])) {
			return $this->params['interval'];
		} else {
			return '1 day';
		}
	}
protected function _getInterval($interval) {
		if ($interval !== null) {
			return $interval;
		} elseif (!empty($this->params['interval'])) {
			return $this->params['interval'];
		} else {
			return '1 day';
		}
	}
protected function _getInterval ( $ interval ) { if ( $ interval !== null ) { return $ interval ; } elseif ( ! empty ( $ this -> params [ 'interval' ] ) ) { return $ this -> params [ 'interval' ] ; } else { return '1 day' ; } }
Returns interval value specified by parameter or default value

@param string $interval If not null method return this value

@return string
Returns interval value specified by parameter or default value