| @@ 35-51 (lines=17) @@ | ||
| 32 | /** @var Application */ |
|
| 33 | protected $application; |
|
| 34 | ||
| 35 | public function __construct( |
|
| 36 | ChatNotification $chatNotification, |
|
| 37 | PlayerStorage $playerStorage, |
|
| 38 | GameDataStorage $gameData, |
|
| 39 | Application $application, |
|
| 40 | $command, |
|
| 41 | string $permission, |
|
| 42 | $aliases = [], |
|
| 43 | AdminGroups $adminGroups |
|
| 44 | ) { |
|
| 45 | parent::__construct($command, $permission, $aliases, $adminGroups); |
|
| 46 | ||
| 47 | $this->chatNotification = $chatNotification; |
|
| 48 | $this->playerStorage = $playerStorage; |
|
| 49 | $this->gameData = $gameData; |
|
| 50 | $this->application = $application; |
|
| 51 | } |
|
| 52 | ||
| 53 | ||
| 54 | /** |
|
| @@ 54-67 (lines=14) @@ | ||
| 51 | * @param ChatNotification $chatNotification |
|
| 52 | * @param PlayerStorage $playerStorage |
|
| 53 | */ |
|
| 54 | public function __construct( |
|
| 55 | $command, |
|
| 56 | array $aliases = [], |
|
| 57 | GameCurrencyService $currencyService, |
|
| 58 | GameDataStorage $gameDataStorage, |
|
| 59 | ChatNotification $chatNotification, |
|
| 60 | PlayerStorage $playerStorage |
|
| 61 | ) { |
|
| 62 | parent::__construct($command, $aliases); |
|
| 63 | $this->currencyService = $currencyService; |
|
| 64 | $this->gameDataStorage = $gameDataStorage; |
|
| 65 | $this->chatNotification = $chatNotification; |
|
| 66 | $this->playerStorage = $playerStorage; |
|
| 67 | } |
|
| 68 | ||
| 69 | /** |
|
| 70 | * @inheritdoc |
|