method
public
Scope::getFilters()
Класс: \Bitrix\Main\Engine\ActionFilter\Attribute\Rule\Scope
Сигнатура
public getFilters() : array<string|int, Base|string>
Возвращаемое значение
array<string|int, Base|string>
Как применяется в Scope
Scope::getFilters() — метод класса \Bitrix\Main\Engine\ActionFilter\Attribute\Rule\Scope модуля «Главный модуль».
Метод объекта: сначала нужен экземпляр Scope.
use Bitrix\Main\Engine\ActionFilter\Attribute\Rule\Scope;
/** @var Scope $object */
$result = $object->getFilters();
// $result: array<string|int, Base|string>Другие методы Scope
getFilters() есть и у других классов модуля «Главный модуль»: Authentication, CloseSession, ContentType, Cors, Csrf, DisablePostfilters, DisablePrefilters, EnablePostfilters.
Исходный файл: source/main/lib/engine/actionfilter/attribute/rule/scope.php:22

