1 | <?php |
||
14 | class PageProtector extends Service { |
||
15 | |||
16 | /** |
||
17 | * @since 0.3 |
||
18 | * |
||
19 | * @param string[] $protections where the 'key' is the action and the 'value' is the group |
||
20 | * |
||
21 | * @throws InvalidArgumentException |
||
22 | */ |
||
23 | public function protect( Page $page, array $protections, array $extraParams = [] ): bool { |
||
51 | |||
52 | } |
||
53 |