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
Symfony
Component
Security
Core
Tests
Authorization
Voter
RoleVoterTest
PHP Class Symfony\Component\Security\Core\Tests\Authorization\Voter\RoleVoterTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Show file
Open project: symfony/symfony
Class Usage Examples
Public Methods
Method
Description
getVoteTests
( )
testVote
(
$roles
,
$attributes
,
$expected
)
Protected Methods
Method
Description
getToken
(
array
$roles
)
Method Details
getToken()
protected
method
protected
getToken
(
array
$roles
)
$roles
array
getVoteTests()
public
method
public
getVoteTests
( )
testVote()
public
method
public
testVote
(
$roles
,
$attributes
,
$expected
)