public function updateAccessEntity(AccessEntity $accessEntity)
    {
        try {
            $em = $this->entityManager->getDoctrineEntityManager();
            $em->flush();
            
            return true;
        } catch (\Exception $e) {
            throw new Exception('Cannot update the access entitiy "' . $accessEntity->getUuid() . '".', 0, $e);
        }
    }
public function updateAccessEntity(AccessEntity $accessEntity)
    {
        try {
            $em = $this->entityManager->getDoctrineEntityManager();
            $em->flush();
            
            return true;
        } catch (\Exception $e) {
            throw new Exception('Cannot update the access entitiy "' . $accessEntity->getUuid() . '".', 0, $e);
        }
    }
public function updateAccessEntity ( AccessEntity $ accessEntity ) { try { $ em = $ this -> entityManager -> getDoctrineEntityManager ( ) ; $ em -> flush ( ) ; return true ; } catch ( \ Exception $ e ) { throw new Exception ( 'Cannot update the access entitiy "' . $ accessEntity -> getUuid ( ) . '".' , 0 , $ e ) ; } }
Updates the access entity. Returns true if everything worked as excepted or
false if the update didn't worked.

@access public
@param \Zepi\Core\AccessControl\Entity\AccessEntity $accessEntity
@return boolean

@throws \Zepi\Core\AccessControl\Exception Cannot update the access entity "{name}".
Updates the access entity . Returns true if everything worked as excepted or false if the update didn t worked .