| @@ 246-254 (lines=9) @@ | ||
| 243 | /** |
|
| 244 | * @return array |
|
| 245 | */ |
|
| 246 | protected function getTypeMap() { |
|
| 247 | if (!isset($this->cache['types'])) { |
|
| 248 | if (!isset($this->cache) && $this->cacheGet('types') === NULL) { |
|
| 249 | $this->cacheSet('types', $this->buildTypeMap()); |
|
| 250 | } |
|
| 251 | } |
|
| 252 | ||
| 253 | return $this->cache['types']; |
|
| 254 | } |
|
| 255 | ||
| 256 | /** |
|
| 257 | * @return array |
|
| @@ 305-313 (lines=9) @@ | ||
| 302 | /** |
|
| 303 | * @return array |
|
| 304 | */ |
|
| 305 | protected function getTypeReferenceMap() { |
|
| 306 | if (!isset($this->cache['types:references'])) { |
|
| 307 | if (!isset($this->cache) && $this->cacheGet('types:references') === NULL) { |
|
| 308 | $this->cacheSet('types:references', $this->buildTypeReferenceMap()); |
|
| 309 | } |
|
| 310 | } |
|
| 311 | ||
| 312 | return $this->cache['types:references']; |
|
| 313 | } |
|
| 314 | ||
| 315 | /** |
|
| 316 | * @return array |
|
| @@ 342-350 (lines=9) @@ | ||
| 339 | /** |
|
| 340 | * @return array |
|
| 341 | */ |
|
| 342 | protected function getFieldAssociationMap() { |
|
| 343 | if (!isset($this->cache['fields:associations'])) { |
|
| 344 | if (!isset($this->cache) && $this->cacheGet('fields:associations') === NULL) { |
|
| 345 | $this->cacheSet('fields:associations', $this->buildFieldAssociationMap()); |
|
| 346 | } |
|
| 347 | } |
|
| 348 | ||
| 349 | return $this->cache['fields:associations']; |
|
| 350 | } |
|
| 351 | ||
| 352 | /** |
|
| 353 | * @return array |
|
| @@ 397-405 (lines=9) @@ | ||
| 394 | /** |
|
| 395 | * @return array |
|
| 396 | */ |
|
| 397 | protected function getFieldMap() { |
|
| 398 | if (!isset($this->cache['fields'])) { |
|
| 399 | if (!isset($this->cache) && $this->cacheGet('fields') === NULL) { |
|
| 400 | $this->cacheSet('fields', $this->buildFieldMap()); |
|
| 401 | } |
|
| 402 | } |
|
| 403 | ||
| 404 | return $this->cache['fields']; |
|
| 405 | } |
|
| 406 | ||
| 407 | /** |
|
| 408 | * @return array |
|
| @@ 433-441 (lines=9) @@ | ||
| 430 | /** |
|
| 431 | * @return array |
|
| 432 | */ |
|
| 433 | protected function getMutationMap() { |
|
| 434 | if (!isset($this->cache['mutations'])) { |
|
| 435 | if (!isset($this->cache) && $this->cacheGet('mutations') === NULL) { |
|
| 436 | $this->cacheSet('mutations', $this->buildMutationMap()); |
|
| 437 | } |
|
| 438 | } |
|
| 439 | ||
| 440 | return $this->cache['mutations']; |
|
| 441 | } |
|
| 442 | ||
| 443 | /** |
|
| 444 | * @return array |
|