Loading app/src/Controller/RestaurantsController.php 0 → 100644 +20 −0 Original line number Diff line number Diff line <?php namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; class RestaurantsController extends AbstractController { /*** * Листинг ресторанов * @return Response */ #[Route('/restaurants/', name: 'restaurants')] public function restaurants(): Response { } } app/src/DTO/RestaurantListDTO.php 0 → 100644 +10 −0 Original line number Diff line number Diff line <?php namespace App\DTO; class RestaurantListDTO { private $pagination; private $list; private $filterVariants; } No newline at end of file app/src/DTO/RestaurantListingElementDTO.php 0 → 100644 +15 −0 Original line number Diff line number Diff line <?php namespace App\DTO; class RestaurantListingElementDTO { private $id; private $name; private $code; private $type; private $check; private $image; private $detailLink; } No newline at end of file Loading
app/src/Controller/RestaurantsController.php 0 → 100644 +20 −0 Original line number Diff line number Diff line <?php namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; class RestaurantsController extends AbstractController { /*** * Листинг ресторанов * @return Response */ #[Route('/restaurants/', name: 'restaurants')] public function restaurants(): Response { } }
app/src/DTO/RestaurantListDTO.php 0 → 100644 +10 −0 Original line number Diff line number Diff line <?php namespace App\DTO; class RestaurantListDTO { private $pagination; private $list; private $filterVariants; } No newline at end of file
app/src/DTO/RestaurantListingElementDTO.php 0 → 100644 +15 −0 Original line number Diff line number Diff line <?php namespace App\DTO; class RestaurantListingElementDTO { private $id; private $name; private $code; private $type; private $check; private $image; private $detailLink; } No newline at end of file