class ApiServiceProvider extends AbstractServiceProvider

Properties

protected Container $app from AbstractServiceProvider
protected Container $container from AbstractServiceProvider

Methods

__construct(Container $container)

No description

register()

{@inheritdoc}

boot()

{@inheritdoc}

setNotificationSerializers()

Register notification serializers.

populateRoutes(RouteCollection $routes)

Populate the API routes.

Details

__construct(Container $container)

Parameters

Container $container

register()

{@inheritdoc}

boot()

{@inheritdoc}

protected setNotificationSerializers()

Register notification serializers.

protected populateRoutes(RouteCollection $routes)

Populate the API routes.

Parameters

RouteCollection $routes