route_loader
class route_loader implements route_loader_interface
| internal |
Route Loader.
Responsible for inspecting classes via Reflection and extracting PHP 8 #[Route] attributes to build the RouteCollection.
Methods
void
load_annotations(RouteCollection $collection, ContainerInterface $container, string|null $class_name)
Scan a specific class for Route attributes and add them to the collection.
Details
at line 49
void
load_annotations(RouteCollection $collection, ContainerInterface $container, string|null $class_name)
Scan a specific class for Route attributes and add them to the collection.