protected function setTrack(SSLTrack $track) { $this->track = $track; if ($track->getPlayTime() !== null) { // don't update the playtime if the Track model itself doesn't know it $this->playtime = $track->getPlayTime(); } $this->elapse(0); }