| 1 | <?php |
||
| 6 | class Role implements RoleInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var mixed |
||
| 10 | */ |
||
| 11 | private $id; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $label; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Role constructor. |
||
| 20 | * @param mixed $id |
||
| 21 | * @param string $label |
||
| 22 | */ |
||
| 23 | public function __construct($id, string $label) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | public function getId() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getLabel(): string |
||
| 44 | } |