/** * @param MapReduce $mapReduce * @return mixed */ public function aggregateHashtag(MapReduce $mapReduce) { $hashtags = $mapReduce->agg_hashtags(); return $this->response->withCollection($hashtags['result'], new HashtagsTransformer()); }