1 | <?php |
||
19 | class ActionAuthorizationComponent extends Component |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * Check if user is authorized to use the controller-action |
||
24 | * |
||
25 | * @param CurrentUserInterface $user current-user |
||
26 | * @param string $action current controller action |
||
27 | * @return bool true is authorized, false otherwise |
||
28 | */ |
||
29 | public function isAuthorized(CurrentUserInterface $user, $action) |
||
50 | } |
||
51 |
This property 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 property will be removed from the class and what other property to use instead.