PHP 인터페이스 Doctrine\OrientDB\Query\Command\CredentialInterface

파일 보기 프로젝트 열기: doctrine/orientdb-odm

공개 메소드들

메소드 설명
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.

메소드 상세

on() 공개 메소드

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

permission() 공개 메소드

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

to() 공개 메소드

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