| @@ 246-256 (lines=11) @@ | ||
| 243 | /** |
|
| 244 | * @return array |
|
| 245 | */ |
|
| 246 | protected function getTypeMap() { |
|
| 247 | if (!isset($this->cache['types'])) { |
|
| 248 | if (!isset($this->cache) && ($result = $this->cacheGet('types')) !== NULL) { |
|
| 249 | return $result; |
|
| 250 | } |
|
| 251 | ||
| 252 | $this->cacheSet('types', $this->buildTypeMap()); |
|
| 253 | } |
|
| 254 | ||
| 255 | return $this->cache['types']; |
|
| 256 | } |
|
| 257 | ||
| 258 | /** |
|
| 259 | * @return array |
|
| @@ 307-317 (lines=11) @@ | ||
| 304 | /** |
|
| 305 | * @return array |
|
| 306 | */ |
|
| 307 | protected function getTypeReferenceMap() { |
|
| 308 | if (!isset($this->cache['types:references'])) { |
|
| 309 | if (!isset($this->cache) && ($result = $this->cacheGet('types:references')) !== NULL) { |
|
| 310 | return $result; |
|
| 311 | } |
|
| 312 | ||
| 313 | $this->cacheSet('types:references', $this->buildTypeReferenceMap()); |
|
| 314 | } |
|
| 315 | ||
| 316 | return $this->cache['types:references']; |
|
| 317 | } |
|
| 318 | ||
| 319 | /** |
|
| 320 | * @return array |
|
| @@ 346-356 (lines=11) @@ | ||
| 343 | /** |
|
| 344 | * @return array |
|
| 345 | */ |
|
| 346 | protected function getFieldAssociationMap() { |
|
| 347 | if (!isset($this->cache['fields:associations'])) { |
|
| 348 | if (!isset($this->cache) && ($result = $this->cacheGet('fields:associations')) !== NULL) { |
|
| 349 | return $result; |
|
| 350 | } |
|
| 351 | ||
| 352 | $this->cacheSet('fields:associations', $this->buildFieldAssociationMap()); |
|
| 353 | } |
|
| 354 | ||
| 355 | return $this->cache['fields:associations']; |
|
| 356 | } |
|
| 357 | ||
| 358 | /** |
|
| 359 | * @return array |
|
| @@ 403-413 (lines=11) @@ | ||
| 400 | /** |
|
| 401 | * @return array |
|
| 402 | */ |
|
| 403 | protected function getFieldMap() { |
|
| 404 | if (!isset($this->cache['fields'])) { |
|
| 405 | if (!isset($this->cache) && ($result = $this->cacheGet('fields')) !== NULL) { |
|
| 406 | return $result; |
|
| 407 | } |
|
| 408 | ||
| 409 | $this->cacheSet('fields', $this->buildFieldMap()); |
|
| 410 | } |
|
| 411 | ||
| 412 | return $this->cache['fields']; |
|
| 413 | } |
|
| 414 | ||
| 415 | /** |
|
| 416 | * @return array |
|
| @@ 441-451 (lines=11) @@ | ||
| 438 | /** |
|
| 439 | * @return array |
|
| 440 | */ |
|
| 441 | protected function getMutationMap() { |
|
| 442 | if (!isset($this->cache['mutations'])) { |
|
| 443 | if (!isset($this->cache) && ($result = $this->cacheGet('mutations')) !== NULL) { |
|
| 444 | return $result; |
|
| 445 | } |
|
| 446 | ||
| 447 | $this->cacheSet('mutations', $this->buildMutationMap()); |
|
| 448 | } |
|
| 449 | ||
| 450 | return $this->cache['mutations']; |
|
| 451 | } |
|
| 452 | ||
| 453 | /** |
|
| 454 | * @return array |
|