1 | <?php |
||
7 | class StandardVoter implements VoterInterface |
||
8 | { |
||
9 | protected $triggers; |
||
10 | |||
11 | 54 | public function __construct(array $triggers) |
|
15 | |||
16 | /** |
||
17 | * @inheritdoc |
||
18 | */ |
||
19 | 6 | public function supportsCommand($command) |
|
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | 6 | public function vote($command, InputInterface $input) |
|
33 | } |
||
34 |