class HttpRouteCorsPolicy extends Collection (View source)

Properties

protected $collection_key
bool $allowCredentials
string[] $allowHeaders
string[] $allowMethods
string[] $allowOriginRegexes
string[] $allowOrigins
bool $disabled
string[] $exposeHeaders
string $maxAge

Methods

setAllowCredentials($allowCredentials)

No description

bool
getAllowCredentials()

No description

setAllowHeaders($allowHeaders)

No description

string[]
getAllowHeaders()

No description

setAllowMethods($allowMethods)

No description

string[]
getAllowMethods()

No description

setAllowOriginRegexes($allowOriginRegexes)

No description

string[]
getAllowOriginRegexes()

No description

setAllowOrigins($allowOrigins)

No description

string[]
getAllowOrigins()

No description

setDisabled($disabled)

No description

bool
getDisabled()

No description

setExposeHeaders($exposeHeaders)

No description

string[]
getExposeHeaders()

No description

setMaxAge($maxAge)

No description

string
getMaxAge()

No description

Details

setAllowCredentials($allowCredentials)

No description

Parameters

$allowCredentials

bool getAllowCredentials()

No description

Return Value

bool

setAllowHeaders($allowHeaders)

No description

Parameters

$allowHeaders

string[] getAllowHeaders()

No description

Return Value

string[]

setAllowMethods($allowMethods)

No description

Parameters

$allowMethods

string[] getAllowMethods()

No description

Return Value

string[]

setAllowOriginRegexes($allowOriginRegexes)

No description

Parameters

$allowOriginRegexes

string[] getAllowOriginRegexes()

No description

Return Value

string[]

setAllowOrigins($allowOrigins)

No description

Parameters

$allowOrigins

string[] getAllowOrigins()

No description

Return Value

string[]

setDisabled($disabled)

No description

Parameters

$disabled

bool getDisabled()

No description

Return Value

bool

setExposeHeaders($exposeHeaders)

No description

Parameters

$exposeHeaders

string[] getExposeHeaders()

No description

Return Value

string[]

setMaxAge($maxAge)

No description

Parameters

$maxAge

string getMaxAge()

No description

Return Value

string