| 1 | <?php |
||
| 18 | abstract class AbstractIniter implements RbacIniterInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Provides a tree of permissions to be set in AuthManager |
||
| 22 | * |
||
| 23 | * @return array where: |
||
| 24 | * - key: role name |
||
| 25 | * - value: role items |
||
| 26 | */ |
||
| 27 | abstract public function getTree(); |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | 13 | public function init(AuthManager $auth) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | 13 | public function reinit(AuthManager $auth) |
|
| 57 | } |
||
| 58 |