/** * Internal mechanism to set the FeaturedVideo id * * @param Skill $model * @param mixed $relatedId */ protected function doSetFeaturedVideoId(Skill $model, $relatedId) { if ($model->getVideoId() !== $relatedId) { $model->setVideoId($relatedId); return true; } return false; }