14 lines
353 B
PHP
14 lines
353 B
PHP
|
<?php declare(strict_types=1);
|
||
|
|
||
|
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
|
||
|
|
||
|
return static function (RoutingConfigurator $routingConfigurator): void {
|
||
|
$routingConfigurator->import(
|
||
|
[
|
||
|
'path' => '../src/Controller/',
|
||
|
'namespace' => 'App\Controller',
|
||
|
],
|
||
|
'attribute',
|
||
|
);
|
||
|
};
|