| @@ 38-44 (lines=7) @@ | ||
| 35 | * @param PlayerStorage $playerStorage |
|
| 36 | * @param BestCheckPointsWidgetFactory $widget |
|
| 37 | */ |
|
| 38 | public function __construct(Connection $connection, PlayerStorage $playerStorage, BestCheckPointsWidgetFactory $widget, Group $players) |
|
| 39 | { |
|
| 40 | $this->connection = $connection; |
|
| 41 | $this->playerStorage = $playerStorage; |
|
| 42 | $this->widget = $widget; |
|
| 43 | $this->players = $players; |
|
| 44 | } |
|
| 45 | ||
| 46 | /** |
|
| 47 | * Set the status of the plugin |
|
| @@ 37-47 (lines=11) @@ | ||
| 34 | * @param PlayerStorage $playerStorage |
|
| 35 | * @param CurrentMapWidgetFactory $widget |
|
| 36 | */ |
|
| 37 | public function __construct( |
|
| 38 | Connection $connection, |
|
| 39 | PlayerStorage $playerStorage, |
|
| 40 | CurrentMapWidgetFactory $widget, |
|
| 41 | Group $players |
|
| 42 | ) { |
|
| 43 | $this->connection = $connection; |
|
| 44 | $this->playerStorage = $playerStorage; |
|
| 45 | $this->widget = $widget; |
|
| 46 | $this->players = $players; |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * called at eXpansion init |
|