1 | <?php |
||
12 | class KeycloakResourceRoles |
||
13 | { |
||
14 | |||
15 | protected $resourceName = null; |
||
16 | protected $roles = null; |
||
17 | |||
18 | /** |
||
19 | * KeycloakResourceRoles constructor. |
||
20 | * @param string $resourceName Name of the resource |
||
21 | * @param array $roles List of roles |
||
22 | */ |
||
23 | 2 | public function __construct($resourceName, array $roles) |
|
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getResourceName() |
||
36 | |||
37 | public function hasRoleNamed($name) { |
||
43 | } |