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