/** * {@inheritDoc} */ public function get($identifier, $type = null, $unique = null) { $item = $this->aggregator->get($identifier, $type, $unique); if ($item && isset($this->transformers[$item['type']])) { $item['data'] = call_user_func_array($this->transformers[$item['type']], [$item]); } return $item; }
/** * {@inheritDoc} */ public function get($identifier, $type = null, $unique = null) { return $this->aggregator->get($identifier, $type, $unique); }