revoke() public method

Converts the query into an REVOKE with the given $permission.
public revoke ( string $permission ) : Revoke
$permission string
return 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));
 }