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 | */ |
||
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 | * @return ModuleOptions |
||
75 | */ |
||
76 | public function setGameEntityClass($gameEntityClass) |
||
82 | |||
83 | /** |
||
84 | * @return string |
||
85 | */ |
||
86 | public function getGameEntityClass() |
||
90 | |||
91 | /** |
||
92 | * Set media path |
||
93 | * |
||
94 | * @param string $media_path |
||
95 | * @return \PlaygroundGame\Options\ModuleOptions |
||
96 | */ |
||
97 | public function setMediaPath($media_path) |
||
103 | |||
104 | /** |
||
105 | * @return string |
||
106 | */ |
||
107 | public function getMediaPath() |
||
111 | |||
112 | /** |
||
113 | * |
||
114 | * @param string $media_url |
||
115 | * @return \PlaygroundGame\Options\ModuleOptions |
||
116 | */ |
||
117 | public function setMediaUrl($media_url) |
||
123 | |||
124 | /** |
||
125 | * @return string |
||
126 | */ |
||
127 | public function getMediaUrl() |
||
131 | |||
132 | public function setEmailFromAddress($emailFromAddress) |
||
138 | |||
139 | public function getEmailFromAddress() |
||
143 | |||
144 | public function setDefaultSubjectLine($defaultSubjectLine) |
||
150 | |||
151 | public function getDefaultSubjectLine() |
||
155 | |||
156 | public function setParticipationSubjectLine($participationSubjectLine) |
||
162 | |||
163 | public function getParticipationSubjectLine() |
||
167 | |||
168 | public function setShareSubjectLine($shareSubjectLine) |
||
174 | |||
175 | public function getShareSubjectLine() |
||
179 | |||
180 | public function setShareCommentSubjectLine($shareCommentSubjectLine) |
||
186 | |||
187 | public function getShareCommentSubjectLine() |
||
191 | |||
192 | public function setInviteToTeamSubjectLine($inviteToTeamSubjectLine) |
||
198 | |||
199 | public function getInviteToTeamSubjectLine() |
||
203 | |||
204 | public function setOnInvitationField($onInvitationField) |
||
208 | |||
209 | public function getOnInvitationField() |
||
213 | |||
214 | /** |
||
215 | * |
||
216 | * @param string $core_layout |
||
217 | * @return \PlaygroundGame\Options\ModuleOptions |
||
218 | */ |
||
219 | public function setCoreLayout($core_layout) |
||
225 | |||
226 | /** |
||
227 | * @return string |
||
228 | */ |
||
229 | public function getCoreLayout() |
||
233 | } |
||
234 |
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..