/**
  * {@inheritDoc}
  */
 public function getLanguage()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLanguage', array());
     return parent::getLanguage();
 }
示例#2
0
 /**
  * @return ArrayCollection
  */
 public function getLanguages()
 {
     $result = $this->entityManager->getRepository(Language::getClass())->findAll();
     return new ArrayCollection($result);
 }