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);
        }
    }
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);
        }
    }
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 ) ; } }
Deletes the given access entity in the database.

@access public
@param \Zepi\Core\AccessControl\Entity\AccessEntity $accessEntity
@return boolean
Deletes the given access entity in the database .