em = $em; $this->translations = $em->getRepository(Translation::class); } public function find($value) { return $this->translations->find($value); } public function findBy($criteria = [],$orderBy = []) { return $this->translations->findBy($criteria,$orderBy); } public function findPairs($criteria,$value,$orderBy,$key) { return $this->translations->findPairs($criteria,$value,$orderBy,$key); } }