mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 01:20:59 +00:00
[ApiBundle] Add QueryItemExtensionInterface to EnabledExtension
This commit is contained in:
parent
bb6e6024c1
commit
4afed8d478
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue