| @@ 53-67 (lines=15) @@ | ||
| 50 | * @param Group $players |
|
| 51 | * @param Group $allPlayers |
|
| 52 | */ |
|
| 53 | public function __construct( |
|
| 54 | Connection $connection, |
|
| 55 | PlayerStorage $playerStorage, |
|
| 56 | BestCheckPointsWidgetFactory $widget, |
|
| 57 | UpdaterWidgetFactory $updater, |
|
| 58 | Group $players, |
|
| 59 | Group $allPlayers |
|
| 60 | ) { |
|
| 61 | $this->connection = $connection; |
|
| 62 | $this->playerStorage = $playerStorage; |
|
| 63 | $this->widget = $widget; |
|
| 64 | $this->players = $players; |
|
| 65 | $this->updater = $updater; |
|
| 66 | $this->allPlayers = $allPlayers; |
|
| 67 | } |
|
| 68 | ||
| 69 | /** |
|
| 70 | * Set the status of the plugin |
|
| @@ 48-60 (lines=13) @@ | ||
| 45 | * @param Group $players |
|
| 46 | * @param Group $allPlayers |
|
| 47 | */ |
|
| 48 | public function __construct( |
|
| 49 | Connection $connection, |
|
| 50 | PlayerStorage $playerStorage, |
|
| 51 | BestRecordsWidgetFactory $widget, |
|
| 52 | Group $players, |
|
| 53 | Group $allPlayers |
|
| 54 | ) { |
|
| 55 | $this->connection = $connection; |
|
| 56 | $this->playerStorage = $playerStorage; |
|
| 57 | $this->widget = $widget; |
|
| 58 | $this->players = $players; |
|
| 59 | $this->allPlayers = $allPlayers; |
|
| 60 | } |
|
| 61 | ||
| 62 | /** |
|
| 63 | * Set the status of the plugin |
|
| @@ 41-51 (lines=11) @@ | ||
| 38 | * @param CurrentMapWidgetFactory $widget |
|
| 39 | * @param Group $players |
|
| 40 | */ |
|
| 41 | public function __construct( |
|
| 42 | Connection $connection, |
|
| 43 | PlayerStorage $playerStorage, |
|
| 44 | CurrentMapWidgetFactory $widget, |
|
| 45 | Group $players |
|
| 46 | ) { |
|
| 47 | $this->connection = $connection; |
|
| 48 | $this->playerStorage = $playerStorage; |
|
| 49 | $this->widget = $widget; |
|
| 50 | $this->players = $players; |
|
| 51 | } |
|
| 52 | ||
| 53 | ||
| 54 | public function setStatus($status) |
|