class ApiServiceProvider extends AbstractServiceProvider

Properties

protected Container $app from AbstractServiceProvider

Methods

__construct(Container $container)

No description

register()

<p>{@inheritdoc}</p>

boot()

<p>{@inheritdoc}</p>

setNotificationSerializers()

<p>Register notification serializers.</p>

populateRoutes(RouteCollection $routes)

<p>Populate the API routes.</p>

Details

__construct(Container $container)

Parameters

Container $container

register()

<p>{@inheritdoc}</p>

boot()

<p>{@inheritdoc}</p>

protected setNotificationSerializers()

<p>Register notification serializers.</p>

protected populateRoutes(RouteCollection $routes)

<p>Populate the API routes.</p>

Parameters

RouteCollection $routes