/** * Gets called when this entry changes. */ public function changed() { Sync::course(Course::fromId($this->getCourseId())); }
/** * Gets called when this course changes. */ private function changed() { Sync::course($this); }