repeat = (int)$repeat; } /** * Return the repeat from the value object * * @return int */ public function getValue() { return $this->repeat; } /** * @return bool */ public function isRepeating() { return $this->repeat === self::ON; } }