[ApiBundle] Add QueryItemExtensionInterface to EnabledExtension

This commit is contained in:
Wojdylak 2024-10-22 11:36:06 +02:00
parent bb6e6024c1
commit 4afed8d478
No known key found for this signature in database
GPG key ID: 7509E560A6821ABE

View file

@ -14,12 +14,13 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Doctrine\ORM\QueryExtension\Common;
use ApiPlatform\Doctrine\Orm\Extension\QueryCollectionExtensionInterface;
use ApiPlatform\Doctrine\Orm\Extension\QueryItemExtensionInterface;
use ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface;
use ApiPlatform\Metadata\Operation;
use Doctrine\ORM\QueryBuilder;
use Sylius\Bundle\CoreBundle\SectionResolver\SectionProviderInterface;
final readonly class EnabledExtension implements QueryCollectionExtensionInterface
final readonly class EnabledExtension implements QueryCollectionExtensionInterface, QueryItemExtensionInterface
{
public function __construct(
private SectionProviderInterface $sectionProvider,