/
jagepard
/
Rudra-Router
Обзор
Документация
Войти
/
jagepard
/
Rudra-Router
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/Attributes/AfterMiddleware.php
21 строка
601 B
Jagepard
fix namespace
20 июл 2026, 08:42
20 июл 2026, 08:42
9d24f2e
Код
Авторство
О чём код?
<?php declare(strict_types=1); /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * @author Korotkov Danila (Jagepard) <jagepard@yandex.ru> * @license https://mozilla.org/MPL/2.0/ MPL-2.0 */ namespace Rudra\Router\Attributes; #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] class AfterMiddleware { public function __construct( public string $name, public string|null $params = null ) {} }