public function addTag($tag) { $this->initializeTags(); $this->tags[] = $tag; $this->updateTags(); return $this; }