Esempio n. 1
0
 /**
  * Return guilds
  *
  * @return array
  */
 public function guilds()
 {
     $perPage = Input::get('perPage');
     $page = Input::get('page');
     $transformer = app('Metin2CMS\\Api\\Transformers\\GuildHighScoreTransformer');
     return $transformer->transformPagination($this->highscoreService->guilds($perPage, $page));
 }
Esempio n. 2
0
 /**
  * Display the guilds
  *
  * @return mixed
  */
 public function guilds()
 {
     $guilds = $this->highscoreService->guilds(self::GUILDS_PER_PAGE);
     return $this->view('highscore.guilds', compact('guilds'));
 }