@@ -203,6 +203,11 @@ discard block |
||
203 | 203 | } |
204 | 204 | |
205 | 205 | |
206 | + /** |
|
207 | + * @param string $name |
|
208 | + * @param boolean $storeMethodName |
|
209 | + * @param boolean $recurse |
|
210 | + */ |
|
206 | 211 | private function assignSpecForHasOne($name, $resultType, &$spec, $storeMethodName, $recurse) { |
207 | 212 | $resultTypeInstance = \Injector::inst()->create($resultType); |
208 | 213 | |
@@ -224,6 +229,11 @@ discard block |
||
224 | 229 | } |
225 | 230 | |
226 | 231 | |
232 | + /** |
|
233 | + * @param string $name |
|
234 | + * @param boolean $storeMethodName |
|
235 | + * @param boolean $recurse |
|
236 | + */ |
|
227 | 237 | private function assignSpecForManyRelationship($name, $resultType, &$spec, $storeMethodName, $recurse) { |
228 | 238 | $resultTypeInstance = \Injector::inst()->create($resultType); |
229 | 239 | $resultTypeMapping = array(); |
@@ -247,6 +257,9 @@ discard block |
||
247 | 257 | } |
248 | 258 | |
249 | 259 | |
260 | + /** |
|
261 | + * @param string $name |
|
262 | + */ |
|
250 | 263 | private function assignSpecForStandardFieldType($name, $class, &$spec) { |
251 | 264 | if(($pos = strpos($class, '('))) { |
252 | 265 | // Valid in the case of Varchar(255) |