| @@ 23-32 (lines=10) @@ | ||
| 20 | $this->redis = $this->container->get('redis'); |
|
| 21 | } |
|
| 22 | ||
| 23 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 24 | { |
|
| 25 | $start = microtime(true); |
|
| 26 | $output->writeln("Running Player Leaderboards"); |
|
| 27 | ||
| 28 | $this->playerLeaderboards($output); |
|
| 29 | ||
| 30 | $end = microtime(true); |
|
| 31 | $output->writeln("Processing took ".gmdate("H:i:s", ($end - $start))); |
|
| 32 | } |
|
| 33 | ||
| 34 | public function playerLeaderboards(OutputInterface $output) |
|
| 35 | { |
|
| @@ 28-37 (lines=10) @@ | ||
| 25 | $this->redis = $this->container->get('redis'); |
|
| 26 | } |
|
| 27 | ||
| 28 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 29 | { |
|
| 30 | $start = microtime(true); |
|
| 31 | $output->writeln("Running Player Leaderboards"); |
|
| 32 | ||
| 33 | $this->playerLeaderboards($input, $output); |
|
| 34 | ||
| 35 | $end = microtime(true); |
|
| 36 | $output->writeln("Processing took ".gmdate("H:i:s", ($end - $start))); |
|
| 37 | } |
|
| 38 | ||
| 39 | public function playerLeaderboards(InputInterface $input, OutputInterface $output) |
|
| 40 | { |
|