Exemplo n.º 1
0
 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);
 }