original_string: public function deleteAccessEntity(AccessEntity $accessEntity)
      {
          try {
              $em = $this->entityManager->getDoctrineEntityManager();
              $em->remove($accessEntity);
              $em->flush();
              
              return true;
          } catch (\Exception $e) {
              throw new Exception('Cannot delete the access entitiy "' . $uuid . '".', 0, $e);
          }
      }
code: public function deleteAccessEntity(AccessEntity $accessEntity)
      {
          try {
              $em = $this->entityManager->getDoctrineEntityManager();
              $em->remove($accessEntity);
              $em->flush();
              
              return true;
          } catch (\Exception $e) {
              throw new Exception('Cannot delete the access entitiy "' . $uuid . '".', 0, $e);
          }
      }
code_tokens: public function deleteAccessEntity ( AccessEntity $ accessEntity ) { try { $ em = $ this -> entityManager -> getDoctrineEntityManager ( ) ; $ em -> remove ( $ accessEntity ) ; $ em -> flush ( ) ; return true ; } catch ( \ Exception $ e ) { throw new Exception ( 'Cannot delete the access entitiy "' . $ uuid . '".' , 0 , $ e ) ; } }
docstring: Deletes the given access entity in the database.
  
  @access public
  @param \Zepi\Core\AccessControl\Entity\AccessEntity $accessEntity
  @return boolean
docstring_tokens: Deletes the given access entity in the database .