public static function publish(Application $app): void
    {
        $app->console()->addCommand(
            (new Command())
                ->setPath(static::PATH)
                ->setName(static::COMMAND)
                ->setDescription(static::SHORT_DESCRIPTION)
                ->setClass(static::class)
        );
    }
public static function publish(Application $app): void
    {
        $app->console()->addCommand(
            (new Command())
                ->setPath(static::PATH)
                ->setName(static::COMMAND)
                ->setDescription(static::SHORT_DESCRIPTION)
                ->setClass(static::class)
        );
    }
public static function publish ( Application $ app ) : void { $ app -> console ( ) -> addCommand ( ( new Command ( ) ) -> setPath ( static :: PATH ) -> setName ( static :: COMMAND ) -> setDescription ( static :: SHORT_DESCRIPTION ) -> setClass ( static :: class ) ) ; }
Publish the command.

@param Application $app The application

@return void
Publish the command .