/
jagepard
/
Rudra-Annotation
Обзор
Документация
Войти
/
jagepard
/
Rudra-Annotation
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/AnnotationInterface.php
18 строк
574 B
Jagepard
refactor(Annotation): replace basename-based class name extraction with safer logic
05 июн 2026, 15:53
05 июн 2026, 15:53
02d19ba
Код
Авторство
О чём код?
<?php /** * 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\Annotation; interface AnnotationInterface { public function getAnnotations(string $className, ?string $methodName = null): array; public function getAttributes(string $className, ?string $methodName = null): array; }