| @@ 57-74 (lines=18) @@ | ||
| 54 | * @param MapStorage $mapStorage |
|
| 55 | * @param JukeboxWindowFactory $jukeboxWindowFactory |
|
| 56 | */ |
|
| 57 | public function __construct( |
|
| 58 | Connection $connection, |
|
| 59 | ChatNotification $chatNotification, |
|
| 60 | JukeboxService $jukeboxService, |
|
| 61 | AdminGroups $adminGroups, |
|
| 62 | PlayerStorage $playerStorage, |
|
| 63 | MapStorage $mapStorage, |
|
| 64 | JukeboxWindowFactory $jukeboxWindowFactory |
|
| 65 | ) { |
|
| 66 | ||
| 67 | $this->jukeboxService = $jukeboxService; |
|
| 68 | $this->connetion = $connection; |
|
| 69 | $this->chatNotification = $chatNotification; |
|
| 70 | $this->adminGroups = $adminGroups; |
|
| 71 | $this->playerStorage = $playerStorage; |
|
| 72 | $this->mapStorage = $mapStorage; |
|
| 73 | $this->jukeboxWindowFactory = $jukeboxWindowFactory; |
|
| 74 | } |
|
| 75 | ||
| 76 | ||
| 77 | public function jukeboxCommand($login, $action) |
|
| @@ 69-85 (lines=17) @@ | ||
| 66 | * @param Console $console |
|
| 67 | * @param JukeboxService $jukebox |
|
| 68 | */ |
|
| 69 | public function __construct( |
|
| 70 | Connection $connection, |
|
| 71 | ChatNotification $chatNotification, |
|
| 72 | Http $http, |
|
| 73 | AdminGroups $adminGroups, |
|
| 74 | GameDataStorage $gameDataStorage, |
|
| 75 | Console $console, |
|
| 76 | JukeboxService $jukebox |
|
| 77 | ) { |
|
| 78 | $this->connection = $connection; |
|
| 79 | $this->chatNotification = $chatNotification; |
|
| 80 | $this->http = $http; |
|
| 81 | $this->adminGroups = $adminGroups; |
|
| 82 | $this->gameDataStorage = $gameDataStorage; |
|
| 83 | $this->console = $console; |
|
| 84 | $this->jukebox = $jukebox; |
|
| 85 | } |
|
| 86 | ||
| 87 | /** |
|
| 88 | * @param string $login |
|