UnderCurrent/app/Template/routes.php
2023-08-15 21:21:24 +02:00

13 lines
309 B
PHP

<?php /** @var $this \App\View\RouteView */ ?>
<?php
foreach ($this->routes->getRoutes() as $route) {
echo sprintf('<a href="%s">%s</a> - %s::%s<br>',
$route->getRoute()->path,
$route->getRoute()->path,
$route->getController(),
$route->getMethod()
);
}
?>