Total Complexity | 5 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class BaseValidateComponent extends Component |
||
17 | { |
||
18 | /** |
||
19 | * Auth manager. |
||
20 | * |
||
21 | * @var ManagerInterface |
||
22 | */ |
||
23 | private $authManager; |
||
24 | |||
25 | /** |
||
26 | * Initialize. |
||
27 | */ |
||
28 | public function init() |
||
36 | } |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Returns the authManager (RBAC). |
||
41 | * |
||
42 | * @return ManagerInterface |
||
43 | */ |
||
44 | public function getAuthManager(): ManagerInterface |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * Set authManager (RBAC). |
||
51 | * |
||
52 | * @param ManagerInterface $authManager |
||
53 | */ |
||
54 | public function setAuthManager(ManagerInterface $authManager): void |
||
59 |