/**
  * {@inheritDoc}
  */
 public function getArticle()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getArticle', array());
     return parent::getArticle();
 }
Exemple #2
0
 /**
  * Add liens
  *
  * @param \Cestom\ArticleBundle\Entity\Lien $liens
  * @return Article
  */
 public function addLien(\Cestom\ArticleBundle\Entity\Lien $liens)
 {
     $this->liens[] = $liens;
     $liens->setArticle($this);
     return $this;
 }