Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pages/framework/pre-post-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ final class Entity extends \Bitrix\Main\Engine\Controller
{
#[Prefilters([
new HttpMethod([
HttpMethod::GET,
HttpMethod::POST,
HttpMethod::METHOD_GET,
HttpMethod::METHOD_POST,
]),
])]
public function indexAction()
Expand Down Expand Up @@ -577,4 +577,4 @@ class CustomFilter extends \Bitrix\Main\Engine\ActionFilter\Base
}
```

Обработчики событий вызываются в методе `Bitrix\Main\Engine\Controller::run`.
Обработчики событий вызываются в методе `Bitrix\Main\Engine\Controller::run`.