futtern/config/routes/api_platform.php

9 lines
261 B
PHP
Raw Permalink Normal View History

2024-10-21 16:55:01 +00:00
<?php declare(strict_types=1);
2024-10-21 16:45:21 +00:00
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
return static function (RoutingConfigurator $routingConfigurator): void {
$routingConfigurator->import('.', 'api_platform')
->prefix('/api');
};