function findById($id) { Validation::notEmpty($id, 'id'); $em = $this->getManager(); return $em->find($this->entityClassName, $id); }