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

to() public method

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