public function setStop($_stop) { parent::setStop($_stop); if ($this->start) { $this->duration = $this->stop - $this->start; } return $this; }