collection-crud/config/routes/annotations.php

8 lines
254 B
PHP

<?php declare(strict_types=1);
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
return static function (RoutingConfigurator $routingConfigurator): void {
$routingConfigurator->import('../../src/Controller/', 'annotation');
};