コード例 #1
0
 /**
  * @param MapReduce $mapReduce
  */
 public function mapreduce(MapReduce $mapReduce)
 {
     dd($mapReduce->mapreduce_keywords());
 }
コード例 #2
0
 /**
  * @param MapReduce $mapReduce
  * @return mixed
  */
 public function aggregateHashtag(MapReduce $mapReduce)
 {
     $hashtags = $mapReduce->agg_hashtags();
     return $this->response->withCollection($hashtags['result'], new HashtagsTransformer());
 }