public function __toString()
{
$value = '';
if ($this->repeats) {
$value = '*/' . $this->repeats;
}
if (count($this->specific) > 0) {
if (strlen($value) > 0) {
$value .= ',';
}
$value .= implode(',', $this->specific);
}
if (!is_null($this->rangeMin) && !is_null($this->rangeMax) && $this->rangeMin >= 0 && $this->rangeMax >= 0) {
$value = intval($this->rangeMin) . '-' . intval($this->rangeMax);
}
if (strlen($value) == 0) {
$value = '*';
}
return $value;
}