revoke() public méthode

Converts the query into an REVOKE with the given $permission.
public revoke ( string $permission ) : Revoke
$permission string
Résultat Doctrine\OrientDB\Query\Command\Credential\Revoke
 public function testRevokeCredentials()
 {
     $query = new Query();
     $query->revoke('READ')->to('reader')->on('Address');
     $this->assertHttpStatus(200, $this->doQuery($query));
 }