Doctrine\OrientDB\Query\Command\CredentialInterface::on PHP Method

on() public method

Sets the $resource on which a credential is granted/revoked.
public on ( string $resource ) : Credential
$resource string
return Credential
    public function on($resource);
CredentialInterface