| @@ 70-92 (lines=23) @@ | ||
| 67 | * @param JukeboxService $jukeboxService |
|
| 68 | * @param AdminGroups $adminGroups |
|
| 69 | */ |
|
| 70 | public function __construct( |
|
| 71 | $name, |
|
| 72 | $sizeX, |
|
| 73 | $sizeY, |
|
| 74 | $posX, |
|
| 75 | $posY, |
|
| 76 | WindowFactoryContext $context, |
|
| 77 | GridBuilderFactory $gridBuilderFactory, |
|
| 78 | DataCollectionFactory $dataCollectionFactory, |
|
| 79 | Time $time, |
|
| 80 | JukeboxService $jukeboxService, |
|
| 81 | AdminGroups $adminGroups |
|
| 82 | ) { |
|
| 83 | parent::__construct($name, $sizeX, $sizeY, $posX, $posY, $context); |
|
| 84 | ||
| 85 | $this->gridBuilderFactory = $gridBuilderFactory; |
|
| 86 | $this->dataCollectionFactory = $dataCollectionFactory; |
|
| 87 | $this->timeFormatter = $time; |
|
| 88 | $this->sizeX = $sizeX; |
|
| 89 | $this->sizeY = $sizeY; |
|
| 90 | $this->jukeboxService = $jukeboxService; |
|
| 91 | $this->adminGroups = $adminGroups; |
|
| 92 | } |
|
| 93 | ||
| 94 | public function setJukeboxPlugin(Jukebox $plugin) |
|
| 95 | { |
|
| @@ 41-61 (lines=21) @@ | ||
| 38 | /** @var WindowHelpDetailsFactory */ |
|
| 39 | protected $windowHelpDetailsFactory; |
|
| 40 | ||
| 41 | public function __construct( |
|
| 42 | $name, |
|
| 43 | $sizeX, |
|
| 44 | $sizeY, |
|
| 45 | $posX, |
|
| 46 | $posY, |
|
| 47 | WindowFactoryContext $context, |
|
| 48 | GridBuilderFactory $gridBuilderFactory, |
|
| 49 | DataCollectionFactory $dataCollectionFactory, |
|
| 50 | ChatCommands $chatCommands, |
|
| 51 | ChatCommandDataProvider $chatCommandDataProvider, |
|
| 52 | WindowHelpDetailsFactory $windowHelpDetailsFactory |
|
| 53 | ) { |
|
| 54 | parent::__construct($name, $sizeX, $sizeY, $posX, $posY, $context); |
|
| 55 | ||
| 56 | $this->gridBuilderFactory = $gridBuilderFactory; |
|
| 57 | $this->dataCollectionFactory = $dataCollectionFactory; |
|
| 58 | $this->chatCommands = $chatCommands; |
|
| 59 | $this->chatCommandDataPovider = $chatCommandDataProvider; |
|
| 60 | $this->windowHelpDetailsFactory = $windowHelpDetailsFactory; |
|
| 61 | } |
|
| 62 | ||
| 63 | ||
| 64 | /** |
|
| @@ 58-78 (lines=21) @@ | ||
| 55 | * @param AdminGroups $adminGroupsHelper |
|
| 56 | * @param Connection $connection |
|
| 57 | */ |
|
| 58 | public function __construct( |
|
| 59 | $name, |
|
| 60 | $sizeX, |
|
| 61 | $sizeY, |
|
| 62 | $posX, |
|
| 63 | $posY, |
|
| 64 | WindowFactoryContext $context, |
|
| 65 | GridBuilderFactory $gridBuilderFactory, |
|
| 66 | DataCollectionFactory $dataCollectionFactory, |
|
| 67 | AdminGroups $adminGroupsHelper, |
|
| 68 | Connection $connection, |
|
| 69 | Console $console |
|
| 70 | ) { |
|
| 71 | parent::__construct($name, $sizeX, $sizeY, $posX, $posY, $context); |
|
| 72 | $this->adminGroupsHelper = $adminGroupsHelper; |
|
| 73 | $this->currentMenuView = Frame::create(); |
|
| 74 | $this->gridBuilderFactory = $gridBuilderFactory; |
|
| 75 | $this->dataCollectionFactory = $dataCollectionFactory; |
|
| 76 | $this->connection = $connection; |
|
| 77 | $this->console = $console; |
|
| 78 | } |
|
| 79 | ||
| 80 | /** |
|
| 81 | * @param ManialinkInterface|Window $manialink |
|