Menu

## PioniaCors
in package
implements CorsContract

PioniaCors.php : 16

### Table of Contents

#### Interfaces

CorsContract

#### Properties

$settings : Arrayable|null

#### Methods

__construct() : mixed
handle() : void
addAllowedHeaders() : static
addAllowedMethods() : static
addAllowedOrigin() : static
addMaxAge() : static
blockNonAllowedOrigins() : static|null
handlePreflight() : static|null
isPreflight() : bool
resolveHttps() : static|null

### Properties

#### $settings

PioniaCors.php : 18
`private Arrayable|null $settings`

### Methods

#### __construct()

PioniaCors.php : 33
`public __construct() : mixed`

#### handle()

PioniaCors.php : 21
`public handle(mixed $request) : void`

##### Parameters

$request : mixed

#### addAllowedHeaders()

PioniaCors.php : 107
`private addAllowedHeaders() : static`

##### Return values

static

#### addAllowedMethods()

PioniaCors.php : 114
`private addAllowedMethods() : static`

##### Return values

static

#### addAllowedOrigin()

PioniaCors.php : 74
`private addAllowedOrigin() : static`

##### Return values

static

#### addMaxAge()

PioniaCors.php : 132
`private addMaxAge() : static`

##### Return values

static

#### blockNonAllowedOrigins()

PioniaCors.php : 53
`private blockNonAllowedOrigins(Request $request) : static|null`

##### Parameters

$request : Request

##### Return values

static|null

#### handlePreflight()

PioniaCors.php : 120
`private handlePreflight(Request $request) : static|null`

##### Parameters

$request : Request

##### Return values

static|null

#### isPreflight()

PioniaCors.php : 48
`private isPreflight(Request $request) : bool`

##### Parameters

$request : Request

##### Return values

bool

#### resolveHttps()

PioniaCors.php : 139
`private resolveHttps(mixed $request) : static|null`

##### Parameters

$request : mixed

##### Return values

static|null

## Search results