Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 14b6705

Browse files
committed
Add stub for VoterInterface
1 parent 5f4d20e commit 14b6705

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace Symfony\Component\Security\Core\Authorization\Voter;
4+
5+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
6+
7+
interface VoterInterface
8+
{
9+
/**
10+
* @param mixed $subject
11+
* @param mixed[] $attributes
12+
*
13+
* @return int
14+
*/
15+
public function vote(TokenInterface $token, $subject, array $attributes);
16+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /