| 1 | <?php |
||
| 5 | abstract class PermissionManagerAbstract |
||
| 6 | { |
||
| 7 | abstract public function __construct(array $settings = []); |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @return array|null |
||
| 11 | */ |
||
| 12 | abstract public function getRolesByOperation($operation); |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @return bool |
||
| 16 | */ |
||
| 17 | public function hasAllowedRole($accountId, $operation) |
||
| 34 | } |
||
| 35 |