eee
This commit is contained in:
+1
-11
@@ -33,6 +33,7 @@ class ServerCommand extends Command
|
||||
{
|
||||
|
||||
|
||||
#[Container(State::class)]
|
||||
public State $state;
|
||||
|
||||
|
||||
@@ -64,17 +65,6 @@ class ServerCommand extends Command
|
||||
public EventProvider $eventProvider;
|
||||
|
||||
|
||||
/**
|
||||
* @param string|null $name
|
||||
* @throws Exception
|
||||
*/
|
||||
public function __construct(string $name = null)
|
||||
{
|
||||
parent::__construct($name);
|
||||
$this->state = Kiri::getDi()->get(State::class);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user