query->delete(); } /** * @param $uuid * @return bool|null * @throws Exception */ public function byUuid($uuid): ?bool { $this->query = $this->group->query()->where('uuid', $uuid); return $this->run(); } }