Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Neos
Flow
Security
DummyContext
setRoles
Neos\Flow\Security\DummyContext::setRoles PHP Method
DummyContext Class Documentation
ファイルを表示
Open project: neos/flow-development-collection
setRoles()
public
method
Set an array of role objects.
public
setRoles
(
Role[]
$roles
) :
void
$roles
Neos\Flow\Security\Policy\Role[]
return
void
public function setRoles($roles) { $this->roles = $roles; }
DummyContext
clearContext
getAuthenticationStrategy
getAuthenticationTokens
getAuthenticationTokensOfType
getCsrfProtectionToken
getInterceptedRequest
getRoles
hasCsrfProtectionTokens
hasRole
isCsrfProtectionTokenValid
isInitialized
setAuthenticationTokens
setCsrfProtectionToken
setInitialized
setInterceptedRequest
setRoles