private function getCachedData($locationId) {
    if (!self::DEBUG_MODE) {
      return NULL;
    }

    $cachedData = $this->cacheBackend->get(get_class($this) . '_embed_' . $locationId);
    if ($cachedData) {
      return $cachedData->data;
    }

    return NULL;
  }
private function getCachedData($locationId) {
    if (!self::DEBUG_MODE) {
      return NULL;
    }

    $cachedData = $this->cacheBackend->get(get_class($this) . '_embed_' . $locationId);
    if ($cachedData) {
      return $cachedData->data;
    }

    return NULL;
  }
private function getCachedData ( $ locationId ) { if ( ! self :: DEBUG_MODE ) { return NULL ; } $ cachedData = $ this -> cacheBackend -> get ( get_class ( $ this ) . '_embed_' . $ locationId ) ; if ( $ cachedData ) { return $ cachedData -> data ; } return NULL ; }
Get cached data.

@param int $locationId
Location ID.

@return array|null
Cached data.
Get cached data .