KMP PHP API Reference

KMPApiPluginInterface

Contract for plugins that publish API routes.

Implementors register their API endpoints under the host API scope.

Table of Contents

Methods

registerApiRoutes()  : void
Register plugin API routes.

Methods

registerApiRoutes()

Register plugin API routes.

public registerApiRoutes(RouteBuilder $builder) : void
Parameters
$builder : RouteBuilder

API route scope builder.


        
On this page

Search results