1 | <?php |
||
11 | class UserEntity implements UserEntityInterface |
||
12 | { |
||
13 | use EntityTrait; |
||
14 | |||
15 | protected $member; |
||
16 | |||
17 | public function __construct(Member $member) |
||
22 | |||
23 | /** |
||
24 | * Get the Member associated with this ClientEntity. |
||
25 | * |
||
26 | * @return Member |
||
27 | */ |
||
28 | public function getMember() |
||
32 | |||
33 | /** |
||
34 | * Checks whether the member has a scope. Only works if the GroupExtension has been configured. |
||
35 | * |
||
36 | * @param string $scope |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function hasScope(string $scope): bool |
||
46 | } |
||
47 |