class ApiServiceProvider extends AbstractServiceProvider

Properties

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

Methods

__construct(Container $container)

No description

register()

<p>{@inheritdoc}</p>

boot(Container $container)

<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(Container $container)

<p>{@inheritdoc}</p>

Parameters

Container $container

protected setNotificationSerializers()

<p>Register notification serializers.</p>

protected populateRoutes(RouteCollection $routes)

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

Parameters

RouteCollection $routes