diff --git a/src/Commands/ServerCommand.php b/src/Commands/ServerCommand.php index 0281e48..84583fd 100644 --- a/src/Commands/ServerCommand.php +++ b/src/Commands/ServerCommand.php @@ -21,7 +21,8 @@ */ class ServerCommand extends Console\Command\Command { - + protected static $defaultName = 'ipub:websockets:start'; + /** @var Server\Server */ private $server; @@ -50,7 +51,7 @@ public function __construct( protected function configure(): void { $this - ->setName('ipub:websockets:start') + ->setName(self::$defaultName) ->setDescription('Start WebSocket server.'); }