@@ 247-257 (lines=11) @@ | ||
244 | /** |
|
245 | * @return array |
|
246 | */ |
|
247 | protected function getTypeMap() { |
|
248 | if (!isset($this->cache['types'])) { |
|
249 | if (!isset($this->cache) && ($result = $this->cacheGet('types')) !== NULL) { |
|
250 | return $result; |
|
251 | } |
|
252 | ||
253 | $this->cacheSet('types', $this->buildTypeMap()); |
|
254 | } |
|
255 | ||
256 | return $this->cache['types']; |
|
257 | } |
|
258 | ||
259 | /** |
|
260 | * @return array |
|
@@ 308-318 (lines=11) @@ | ||
305 | /** |
|
306 | * @return array |
|
307 | */ |
|
308 | protected function getTypeReferenceMap() { |
|
309 | if (!isset($this->cache['types:references'])) { |
|
310 | if (!isset($this->cache) && ($result = $this->cacheGet('types:references')) !== NULL) { |
|
311 | return $result; |
|
312 | } |
|
313 | ||
314 | $this->cacheSet('types:references', $this->buildTypeReferenceMap()); |
|
315 | } |
|
316 | ||
317 | return $this->cache['types:references']; |
|
318 | } |
|
319 | ||
320 | /** |
|
321 | * @return array |
|
@@ 347-357 (lines=11) @@ | ||
344 | /** |
|
345 | * @return array |
|
346 | */ |
|
347 | protected function getFieldAssociationMap() { |
|
348 | if (!isset($this->cache['fields:associations'])) { |
|
349 | if (!isset($this->cache) && ($result = $this->cacheGet('fields:associations')) !== NULL) { |
|
350 | return $result; |
|
351 | } |
|
352 | ||
353 | $this->cacheSet('fields:associations', $this->buildFieldAssociationMap()); |
|
354 | } |
|
355 | ||
356 | return $this->cache['fields:associations']; |
|
357 | } |
|
358 | ||
359 | /** |
|
360 | * @return array |
|
@@ 404-414 (lines=11) @@ | ||
401 | /** |
|
402 | * @return array |
|
403 | */ |
|
404 | protected function getTypeAssociationMap() { |
|
405 | if (!isset($this->cache['types:associations'])) { |
|
406 | if (!isset($this->cache) && ($result = $this->cacheGet('types:associations')) !== NULL) { |
|
407 | return $result; |
|
408 | } |
|
409 | ||
410 | $this->cacheSet('types:associations', $this->buildTypeAssociationMap()); |
|
411 | } |
|
412 | ||
413 | return $this->cache['types:associations']; |
|
414 | } |
|
415 | ||
416 | /** |
|
417 | * @return array |
|
@@ 507-517 (lines=11) @@ | ||
504 | /** |
|
505 | * @return array |
|
506 | */ |
|
507 | protected function getFieldMap() { |
|
508 | if (!isset($this->cache['fields'])) { |
|
509 | if (!isset($this->cache) && ($result = $this->cacheGet('fields')) !== NULL) { |
|
510 | return $result; |
|
511 | } |
|
512 | ||
513 | $this->cacheSet('fields', $this->buildFieldMap()); |
|
514 | } |
|
515 | ||
516 | return $this->cache['fields']; |
|
517 | } |
|
518 | ||
519 | /** |
|
520 | * @return array |
|
@@ 545-555 (lines=11) @@ | ||
542 | /** |
|
543 | * @return array |
|
544 | */ |
|
545 | protected function getMutationMap() { |
|
546 | if (!isset($this->cache['mutations'])) { |
|
547 | if (!isset($this->cache) && ($result = $this->cacheGet('mutations')) !== NULL) { |
|
548 | return $result; |
|
549 | } |
|
550 | ||
551 | $this->cacheSet('mutations', $this->buildMutationMap()); |
|
552 | } |
|
553 | ||
554 | return $this->cache['mutations']; |
|
555 | } |
|
556 | ||
557 | /** |
|
558 | * @return array |