public function removeAllAssignments()
{
$this->assignments = [];
$this->saveAssignments();
}
public function removeAllAssignments() { parent::removeAllAssignments(); $this->trigger(self::EVENT_REMOVE_ALL_ASSIGNMENTS, new RemoveAllAssignmentsEvent()); }