src/Controller/Frontend/IndexController.php
public function getLeaderboardService()
    {
        if (!$this->leaderboardService) {
            $this->leaderboardService = $this->getServiceLocator()->get(\PlaygroundReward\Service\LeaderBoard::class);
        }

        return $this->leaderboardService;
    }
public function getLeaderboardService()
    {
        if (!$this->leaderboardService) {
            $this->leaderboardService = $this->getServiceLocator()->get(\PlaygroundReward\Service\LeaderBoard::class);
        }

        return $this->leaderboardService;
    }
public function getLeaderboardService ( ) { if ( ! $ this -> leaderboardService ) { $ this -> leaderboardService = $ this -> getServiceLocator ( ) -> get ( \ PlaygroundReward \ Service \ LeaderBoard :: class ) ; } return $ this -> leaderboardService ; }
retrieve leaderboard service

@return Service/leaderboard $leaderboardService
retrieve leaderboard service