HttpRouteCorsPolicy
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
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