/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
tests/Integration/Http/Middleware/PreventRequestForgeryExceptStub.php
20 строк
424 B
Ben Bjurstrom
[13.x] Add origin verification to request forgery protection (#58400)
19 янв 2026, 20:29
Не верифицирован
19 янв 2026, 20:29
0c3477b
Код
Авторство
О чём код?
<?php namespace Illuminate\Tests\Integration\Http\Middleware; use Illuminate\Foundation\Http\Middleware\PreventRequestForgery; class PreventRequestForgeryExceptStub extends PreventRequestForgery { public function checkInExceptArray($request) { return $this->inExceptArray($request); } public function setExcept(array $except) { $this->except = $except; return $this; } }