Skip to content
Snippets Groups Projects
Commit 13527563 authored by Александр Плохих's avatar Александр Плохих :waxing_gibbous_moon: Committed by Александр Плохих
Browse files

STA-960|create some DTO

parent 319df7eb
No related branches found
No related tags found
1 merge request!16Sta 960
<?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
{
}
}
<?php
namespace App\DTO;
class RestaurantListDTO
{
private $pagination;
private $list;
private $filterVariants;
}
\ No newline at end of file
<?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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment