Implement caching of query dto

This commit is contained in:
Tim
2025-05-04 16:47:39 +02:00
parent d62d34fb63
commit 59e068fbf7
6 changed files with 90 additions and 8 deletions

View File

@ -0,0 +1,14 @@
<?php
namespace App\Controller\Attribute;
use App\Service\RequestDtoCache;
use Symfony\Component\HttpKernel\Attribute\MapQueryString;
#[\Attribute(\Attribute::TARGET_PARAMETER)]
class MapQueryCached extends MapQueryString
{
public function __construct() {
return parent::__construct(resolver: RequestDtoCache::class);
}
}