public function addTag(Tag $tag) { $tag->addArticle($this); // synchronously updating inverse side $this->tags[] = $tag; }
public function addArticle(\Entities\Article $article) { $this->__load(); return parent::addArticle($article); }