1 | <?php |
||
7 | class ModuleOptions extends AbstractOptions implements GameEditOptionsInterface |
||
8 | { |
||
9 | /** |
||
10 | * Turn off strict options mode |
||
11 | */ |
||
12 | protected $__strictMode__ = false; |
||
13 | |||
14 | /** |
||
15 | * drive path to game media files |
||
16 | */ |
||
17 | protected $media_path = 'public/media/game'; |
||
18 | |||
19 | /** |
||
20 | * url path to game media files |
||
21 | */ |
||
22 | protected $media_url = 'media/game'; |
||
23 | |||
24 | /** |
||
25 | * core_layout config |
||
26 | */ |
||
27 | protected $core_layout = array(); |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $emailFromAddress = ''; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $defaultSubjectLine = ''; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $participationSubjectLine = ''; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $shareSubjectLine = ''; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | protected $shareCommentSubjectLine = ''; |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | * The field associated with the invitation request Id |
||
57 | */ |
||
58 | protected $onInvitationField = 'code'; |
||
59 | |||
60 | /** |
||
61 | * @var string |
||
62 | */ |
||
63 | protected $gameEntityClass = 'PlaygroundGame\Entity\Game'; |
||
64 | |||
65 | /** |
||
66 | * Set game entity class name |
||
67 | * |
||
68 | * @param $gameEntityClass |
||
69 | * @return ModuleOptions |
||
70 | */ |
||
71 | public function setGameEntityClass($gameEntityClass) |
||
77 | |||
78 | /** |
||
79 | * @return string |
||
80 | */ |
||
81 | public function getGameEntityClass() |
||
85 | |||
86 | /** |
||
87 | * Set media path |
||
88 | * |
||
89 | * @param string $media_path |
||
90 | * @return \PlaygroundGame\Options\ModuleOptions |
||
91 | */ |
||
92 | public function setMediaPath($media_path) |
||
98 | |||
99 | /** |
||
100 | * @return string |
||
101 | */ |
||
102 | public function getMediaPath() |
||
106 | |||
107 | /** |
||
108 | * |
||
109 | * @param string $media_url |
||
110 | * @return \PlaygroundGame\Options\ModuleOptions |
||
111 | */ |
||
112 | public function setMediaUrl($media_url) |
||
118 | |||
119 | /** |
||
120 | * @return string |
||
121 | */ |
||
122 | public function getMediaUrl() |
||
126 | |||
127 | public function setEmailFromAddress($emailFromAddress) |
||
133 | |||
134 | public function getEmailFromAddress() |
||
138 | |||
139 | public function setDefaultSubjectLine($defaultSubjectLine) |
||
145 | |||
146 | public function getDefaultSubjectLine() |
||
150 | |||
151 | public function setParticipationSubjectLine($participationSubjectLine) |
||
157 | |||
158 | public function getParticipationSubjectLine() |
||
162 | |||
163 | public function setShareSubjectLine($shareSubjectLine) |
||
169 | |||
170 | public function getShareSubjectLine() |
||
174 | |||
175 | public function setShareCommentSubjectLine($shareCommentSubjectLine) |
||
181 | |||
182 | public function getShareCommentSubjectLine() |
||
186 | |||
187 | public function setOnInvitationField($onInvitationField) |
||
191 | |||
192 | public function getOnInvitationField() |
||
196 | |||
197 | /** |
||
198 | * |
||
199 | * @param string $core_layout |
||
200 | * @return \PlaygroundGame\Options\ModuleOptions |
||
201 | */ |
||
202 | public function setCoreLayout($core_layout) |
||
208 | |||
209 | /** |
||
210 | * @return string |
||
211 | */ |
||
212 | public function getCoreLayout() |
||
216 | } |
||
217 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..