1 | <?php |
||
14 | class PageProtector extends Service { |
||
15 | |||
16 | /** |
||
17 | * @since 0.3 |
||
18 | * |
||
19 | * @param Page $page |
||
20 | * @param string[] $protections where the 'key' is the action and the 'value' is the group |
||
21 | * @param array $extraParams |
||
22 | * |
||
23 | * @return bool |
||
24 | * @throws InvalidArgumentException |
||
25 | */ |
||
26 | public function protect( Page $page, $protections, array $extraParams = [] ) { |
||
54 | |||
55 | } |
||
56 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.