Commit 13527563 authored by Александр Плохих's avatar Александр Плохих 🌔 Committed by Александр Плохих
Browse files

STA-960|create some DTO

parent 319df7eb
Loading
Loading
Loading
Loading
+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
    {

    }
}
+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
+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