Menu

## PioniaCors
in package
implements CorsContract

PioniaCors.php : 17

### Table of Contents

#### Interfaces

CorsContract

#### Properties

$application : PioniaApplication
$options : Arrayable

#### Methods

__construct() : mixed
options() : array<string|int, mixed>
register() : void
resolveRequest() : void
withSettingsNamed() : array<string|int, mixed>|null

### Properties

#### $application

PioniaCors.php : 19
`public PioniaApplication $application`

#### $options

PioniaCors.php : 21
`public Arrayable $options`

### Methods

#### __construct()

PioniaCors.php : 23
`public __construct(PioniaApplication $application) : mixed`

##### Parameters

$application : PioniaApplication

#### options()

PioniaCors.php : 69
`public options([string|null $corsKey = 'cors' ]) : array<string|int, mixed>`

##### Parameters

$corsKey : string|null = 'cors'

##### Return values

array<string|int, mixed>

#### register()

PioniaCors.php : 29
`public register() : void`

#### resolveRequest()

PioniaCors.php : 42
`public resolveRequest(Request $request, Response $response) : void`

##### Parameters

$request : Request
$response : Response

##### Tags

throws
  NotFoundExceptionInterface
throws
  NotFoundException
throws
  ContainerExceptionInterface
throws
  DependencyException

#### withSettingsNamed()

PioniaCors.php : 60
`public withSettingsNamed([string|null $key = 'cors' ]) : array<string|int, mixed>|null`

##### Parameters

$key : string|null = 'cors'

##### Return values

array<string|int, mixed>|null

## Search results