| 1 | <?php |
||
| 8 | class GodUserVoter implements PermissionVoterInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | private $godUserIds; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string[] $godUserIds |
||
| 17 | */ |
||
| 18 | public function __construct(array $godUserIds) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param Permission $permission |
||
| 25 | * @param StringLiteral $offerId |
||
| 26 | * @param StringLiteral $userId |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function isAllowed( |
||
| 36 | } |
||
| 37 |