public function __construct(HighscoreService $highscoreService) { parent::__construct(); $this->highscoreService = $highscoreService; }
/** * @param AccountService $account */ public function __construct(AccountService $account) { parent::__construct(); $this->account = $account; }
public function __construct(AccountService $account) { parent::__construct(); $this->beforeFilter('auth'); $this->account = $account; }