src/Valkyrja/Annotations/NativeAnnotations.php
public static function publish(Application $app): void
    {
        $app->container()->singleton(
            Annotations::class,
            new static(
                $app->container()->getSingleton(
                    CoreComponent::ANNOTATIONS_PARSER
                )
            )
        );
    }
public static function publish(Application $app): void
    {
        $app->container()->singleton(
            Annotations::class,
            new static(
                $app->container()->getSingleton(
                    CoreComponent::ANNOTATIONS_PARSER
                )
            )
        );
    }
Publish the provider.

@param Application $app The application

@return void