pour prod
This commit is contained in:
12
api/agents.php
Normal file
12
api/agents.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once dirname(__DIR__) . '/app/autoload.php';
|
||||
|
||||
use App\Controllers\AgentController;
|
||||
use App\Core\JsonResponse;
|
||||
|
||||
JsonResponse::bootstrap();
|
||||
$pdo = require dirname(__DIR__) . '/app/bootstrap.php';
|
||||
(new AgentController($pdo))->listForPlanning();
|
||||
Reference in New Issue
Block a user