Пример #1
0
 /**
  * Remove portfolioHasProjects
  *
  * @param \Application\AlexL\AppBundle\Entity\PortfolioHasProjects $portfolioHasProjects
  */
 public function removePortfolioHasProject(\Application\AlexL\AppBundle\Entity\PortfolioHasProjects $portfolioHasProjects)
 {
     $this->portfolioHasProjects->removeElement($portfolioHasProjects);
 }
Пример #2
0
 /**
  * Add portfolioHasProjects
  *
  * @param \Application\AlexL\AppBundle\Entity\PortfolioHasProjects $portfolioHasProjects
  * @return Portfolio
  */
 public function addPortfolioHasProject(\Application\AlexL\AppBundle\Entity\PortfolioHasProjects $portfolioHasProjects)
 {
     $portfolioHasProjects->setPortfolio($this);
     $this->portfolioHasProjects[] = $portfolioHasProjects;
     return $this;
 }