Пример #1
0
 /**
  * Add tags
  *
  * @param \AppBundle\Entity\Tag $tag
  * @return Post
  */
 public function addTag($tag)
 {
     $this->tags[] = $tag;
     $tag->addPage($this);
     return $this;
 }