Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Doctrine
OrientDB
Query
Command
Credential
to
Doctrine\OrientDB\Query\Command\Credential::to PHP Method
Credential Class Documentation
Show file
Open project: doctrine/orientdb-odm
to()
public
method
Sets the $role having the credential on a resource.
public
to
(
string
$role
) :
Credential
$role
string
return
Credential
public function to($role) { $this->setToken('Role', $role); return $this; }
Credential
__construct
getTokenFormatters
on
permission
to