original_string: public function addAccessEntity(AccessEntity $accessEntity)
      {
          try {
              $em = $this->entityManager->getDoctrineEntityManager();
              $em->persist($accessEntity);
              $em->flush();
              
              return $accessEntity->getUuid();
          } catch (\Exception $e) {
              throw new Exception('Cannot add the new access entitiy "' . $accessEntity->getName() . '".', 0, $e);
          }
      }
code: public function addAccessEntity(AccessEntity $accessEntity)
      {
          try {
              $em = $this->entityManager->getDoctrineEntityManager();
              $em->persist($accessEntity);
              $em->flush();
              
              return $accessEntity->getUuid();
          } catch (\Exception $e) {
              throw new Exception('Cannot add the new access entitiy "' . $accessEntity->getName() . '".', 0, $e);
          }
      }
code_tokens: public function addAccessEntity ( AccessEntity $ accessEntity ) { try { $ em = $ this -> entityManager -> getDoctrineEntityManager ( ) ; $ em -> persist ( $ accessEntity ) ; $ em -> flush ( ) ; return $ accessEntity -> getUuid ( ) ; } catch ( \ Exception $ e ) { throw new Exception ( 'Cannot add the new access entitiy "' . $ accessEntity -> getName ( ) . '".' , 0 , $ e ) ; } }
docstring: Adds an access entity. Returns the uuid of the access entity
  or false, if the access entity can not inserted.
  
  @access public
  @param \Zepi\Core\AccessControl\Entity\AccessEntity $accessEntity
  @return string|false
  
  @throws \Zepi\Core\AccessControl\Exception Cannot add the new access entity "{name}".
docstring_tokens: Adds an access entity . Returns the uuid of the access entity or false if the access entity can not inserted .