PHP Interface Doctrine\OrientDB\Query\Command\CredentialInterface

Datei anzeigen Open project: doctrine/orientdb-odm

Public Methods

Method Description
on ( string $resource ) : Credential Sets the $resource on which a credential is granted/revoked.
permission ( string $permission ) : Credential Sets the $permission to grant/revoke.
to ( string $role ) : Credential Sets the user/group subject of the credential addition/removal.

Method Details

on() public method

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

permission() public method

Sets the $permission to grant/revoke.
public permission ( string $permission ) : Credential
$permission string
return Credential

to() public method

Sets the user/group subject of the credential addition/removal.
public to ( string $role ) : Credential
$role string
return Credential