| @@ 32-42 (lines=11) @@ | ||
| 29 | * @param Connection $connection |
|
| 30 | * @param Console $console |
|
| 31 | */ |
|
| 32 | public function __construct( |
|
| 33 | Connection $connection, |
|
| 34 | Console $console, |
|
| 35 | ChatNotification $chatNotification, |
|
| 36 | AdminGroups $adminGroups |
|
| 37 | ) { |
|
| 38 | $this->connection = $connection; |
|
| 39 | $this->console = $console; |
|
| 40 | $this->chat = $chatNotification; |
|
| 41 | $this->adminGroups = $adminGroups; |
|
| 42 | } |
|
| 43 | ||
| 44 | //#region Callbacks |
|
| 45 | ||
| @@ 36-48 (lines=13) @@ | ||
| 33 | /** @var ChatNotification */ |
|
| 34 | protected $chatNotification; |
|
| 35 | ||
| 36 | function __construct( |
|
| 37 | Connection $connection, |
|
| 38 | Console $console, |
|
| 39 | AdminGroups $adminGroups, |
|
| 40 | MapStorage $mapStorage, |
|
| 41 | ChatNotification $chatNotification |
|
| 42 | ) { |
|
| 43 | $this->connection = $connection; |
|
| 44 | $this->console = $console; |
|
| 45 | $this->adminGroups = $adminGroups; |
|
| 46 | $this->mapStorage = $mapStorage; |
|
| 47 | $this->chatNotification = $chatNotification; |
|
| 48 | } |
|
| 49 | ||
| 50 | /** |
|
| 51 | * Set the status of the plugin |
|