コード例 #1
0
 /**
  * {@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;
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  */
 public function get($identifier, $type = null, $unique = null)
 {
     return $this->aggregator->get($identifier, $type, $unique);
 }