Example #1
0
 /**
  * @param string $name
  * @param mixed $value
  * @param bool $modified
  * @return $this
  */
 public function setProperty($name, $value, $modified = true)
 {
     parent::setProperty($name, $value, $modified = true);
     if ($name === 'all_day') {
         $this->allDay = (bool) $this->{$name};
         $this->color = '#ff00ff';
     }
     return $this;
 }