1 | <?php |
||
20 | class RevokeUserRoleCommand |
||
21 | { |
||
22 | /** |
||
23 | * The user id. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | private $id; |
||
28 | |||
29 | /** |
||
30 | * The role. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $role; |
||
35 | |||
36 | /** |
||
37 | * Constructor. |
||
38 | * |
||
39 | * @param string $anId The user id |
||
40 | * @param string $aRole The role |
||
41 | */ |
||
42 | public function __construct($anId, $aRole) |
||
47 | |||
48 | /** |
||
49 | * Gets the user id. |
||
50 | * |
||
51 | * @return string |
||
52 | */ |
||
53 | public function id() |
||
57 | |||
58 | /** |
||
59 | * Gets the role. |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public function role() |
||
67 | } |
||
68 |