1 | <?php |
||
8 | class UndefinedParsingUser implements ParsingUser |
||
9 | { |
||
10 | /** |
||
11 | * @var Account |
||
12 | */ |
||
13 | protected $account; |
||
14 | |||
15 | /** |
||
16 | * Constructor |
||
17 | * |
||
18 | * @param Account $account |
||
19 | */ |
||
20 | 3 | public function __construct(Account $account) |
|
24 | |||
25 | /** |
||
26 | * Returns the id |
||
27 | * |
||
28 | * @return ApplicationUserId |
||
29 | */ |
||
30 | 3 | public function getId() |
|
34 | |||
35 | /** |
||
36 | * Returns the name |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | 3 | public function getName() |
|
44 | |||
45 | /** |
||
46 | * Returns the preferred language |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | 3 | public function getPreferredLanguage() |
|
54 | |||
55 | /** |
||
56 | * Get the account |
||
57 | * |
||
58 | * @return Account |
||
59 | */ |
||
60 | 3 | public function getAccount() |
|
64 | |||
65 | /** |
||
66 | * Is the user defined |
||
67 | * |
||
68 | * @return boolean |
||
69 | */ |
||
70 | 3 | public function isDefined() |
|
74 | } |
||
75 |