21 lines
520 B
PHP
21 lines
520 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller;
|
||
|
|
||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||
|
use Symfony\Component\Routing\Annotation\Route;
|
||
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
||
|
use Symfony\Component\HttpFoundation\Request;
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
|
||
|
class MotionApiController extends AbstractController
|
||
|
{
|
||
|
/**
|
||
|
* @Route("/api/motion/hook", name="api_motion_hook")
|
||
|
*/
|
||
|
public function hook(Request $request): Response
|
||
|
{
|
||
|
return new Response();
|
||
|
}
|
||
|
}
|