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 $shareCommentSubjectLine = ''; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | protected $sharePostSubjectLine = ''; |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $inviteToTeamSubjectLine = ''; |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | * The field associated with the invitation request Id |
||
62 | */ |
||
63 | protected $onInvitationField = 'code'; |
||
64 | |||
65 | /** |
||
66 | * @var string |
||
67 | */ |
||
68 | protected $gameEntityClass = 'PlaygroundGame\Entity\Game'; |
||
69 | |||
70 | /** |
||
71 | * Set game entity class name |
||
72 | * |
||
73 | * @param $gameEntityClass |
||
74 | * |
||
75 | * @return ModuleOptions |
||
76 | */ |
||
77 | public function setGameEntityClass($gameEntityClass) |
||
83 | |||
84 | /** |
||
85 | * @return string |
||
86 | */ |
||
87 | public function getGameEntityClass() |
||
91 | |||
92 | /** |
||
93 | * Set media path |
||
94 | * |
||
95 | * @param string $media_path |
||
96 | * |
||
97 | * @return \PlaygroundGame\Options\ModuleOptions |
||
98 | */ |
||
99 | public function setMediaPath($media_path) |
||
105 | |||
106 | /** |
||
107 | * @return string |
||
108 | */ |
||
109 | public function getMediaPath() |
||
113 | |||
114 | /** |
||
115 | * |
||
116 | * @param string $media_url |
||
117 | * |
||
118 | * @return \PlaygroundGame\Options\ModuleOptions |
||
119 | */ |
||
120 | public function setMediaUrl($media_url) |
||
126 | |||
127 | /** |
||
128 | * @return string |
||
129 | */ |
||
130 | public function getMediaUrl() |
||
134 | |||
135 | public function setEmailFromAddress($emailFromAddress) |
||
141 | |||
142 | public function getEmailFromAddress() |
||
146 | |||
147 | public function setDefaultSubjectLine($defaultSubjectLine) |
||
153 | |||
154 | public function getDefaultSubjectLine() |
||
158 | |||
159 | public function setParticipationSubjectLine($participationSubjectLine) |
||
165 | |||
166 | public function getParticipationSubjectLine() |
||
170 | |||
171 | public function setSharePostSubjectLine($sharePostSubjectLine) |
||
177 | |||
178 | public function getSharePostSubjectLine() |
||
182 | |||
183 | public function setShareCommentSubjectLine($shareCommentSubjectLine) |
||
189 | |||
190 | public function getShareCommentSubjectLine() |
||
194 | |||
195 | public function setInviteToTeamSubjectLine($inviteToTeamSubjectLine) |
||
201 | |||
202 | public function getInviteToTeamSubjectLine() |
||
206 | |||
207 | public function setOnInvitationField($onInvitationField) |
||
211 | |||
212 | public function getOnInvitationField() |
||
216 | |||
217 | /** |
||
218 | * |
||
219 | * @param string $core_layout |
||
220 | * |
||
221 | * @return \PlaygroundGame\Options\ModuleOptions |
||
222 | */ |
||
223 | public function setCoreLayout($core_layout) |
||
229 | |||
230 | /** |
||
231 | * @return string |
||
232 | */ |
||
233 | public function getCoreLayout() |
||
237 | } |
||
238 |
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..