示例#1
0
 /**
  * Add elementSupports
  *
  * @param \Lyssal\CollectionBundle\Entity\ElementSupport $elementSupports
  * @return Element
  */
 public function addElementSupport(\Lyssal\CollectionBundle\Entity\ElementSupport $elementSupports)
 {
     $this->elementSupports[] = $elementSupports;
     $elementSupports->setElement($this);
     return $this;
 }
 /**
  * @return string
  */
 public function __toString()
 {
     return $this->elementSupport->__toString() . ' (' . $this->langue->__toString() . ')';
 }