Cors implements FilterAttributeInterface
FinalYes
Attributes
- #[Attribute]
- \Attribute::TARGET_METHOD
Table of Contents
Interfaces
Methods
- __construct() : mixed
- getFilters() : array<string|int, Base|string>
- getType() : FilterType
Methods
__construct()
public
__construct([string|null $origin = null ][, bool|null $credentials = null ][, FilterType $type = \Bitrix\Main\Engine\ActionFilter\FilterType::EnablePrefilter ]) : mixed
Parameters
- $origin : string|null = null
- $credentials : bool|null = null
- $type : FilterType = \Bitrix\Main\Engine\ActionFilter\FilterType::EnablePrefilter
getFilters()
public
getFilters() : array<string|int, Base|string>
Return values
array<string|int, Base|string>getType()
public
getType() : FilterType