strtolower($value), set: fn ($value) => strtolower($value) ); } static public function ownedByCurrentTeam() { return Tag::whereTeamId(currentTeam()->id)->orderBy('name'); } public function applications() { return $this->morphedByMany(Application::class, 'taggable'); } public function services() { return $this->morphedByMany(Service::class, 'taggable'); } }