Menu

## ProviderContract
in

ProviderContract.php : 9

### Table of Contents

#### Methods

authentications() : AuthenticationChain
  Chain your service authentications to the application's authentication chain.
commands() : array<string|int, mixed>
  Register your service commands to the application's command system.
middlewares() : MiddlewareChain
  Chain your service middlewares to the application's middleware chain.
onBooted() : void
  Add logic to the application's booted hook.
onTerminate() : void
  Add logic to the application's terminating hook.
routes() : PioniaRouter
  Add your service routes to the application's router system.

### Methods

#### authentications()

ProviderContract.php : 19

Chain your service authentications to the application's authentication chain.

`public authentications(AuthenticationChain $authenticationChain) : AuthenticationChain`

##### Parameters

$authenticationChain : AuthenticationChain

##### Return values

AuthenticationChain

#### commands()

ProviderContract.php : 31

Register your service commands to the application's command system.

`public commands() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

#### middlewares()

ProviderContract.php : 14

Chain your service middlewares to the application's middleware chain.

`public middlewares(MiddlewareChain $middlewareChain) : MiddlewareChain`

##### Parameters

$middlewareChain : MiddlewareChain

##### Return values

MiddlewareChain

#### onBooted()

ProviderContract.php : 36

Add logic to the application's booted hook.

`public onBooted() : void`

#### onTerminate()

ProviderContract.php : 41

Add logic to the application's terminating hook.

`public onTerminate() : void`

#### routes()

ProviderContract.php : 26

Add your service routes to the application's router system.

`public routes(PioniaRouter $router) : PioniaRouter`

##### Parameters

$router : PioniaRouter

##### Return values

PioniaRouter

## Search results