skip to Main Content

Php – "You have requested a non-existent service" in non-shared service

I have two services named "processors": <?php namespace AppProcessor; use AppRepositoryChannelRepository; use PsrLogLoggerInterface; class FirstProcessor { public function __construct( LoggerInterface $logger, ChannelRepository $channelRepository, ) { } } <?php namespace AppProcessor; use AppRepositoryChannelRepository; use PsrLogLoggerInterface; class SecondProcessor { public function __construct(…

VIEW QUESTION

Php – Sylius override AvailableProductOptionValuesResolver

With sylius 1.13 i wan't to override AvailableProductOptionValuesResolver.php I've copied the original class in src/Component/Product/Resolver/AvailableProductOptionValuesResolver.php and change the namespace and add debug: <?php namespace AppComponentProductResolver; class AvailableProductOptionValuesResolver implements AvailableProductOptionValuesResolverInterface { public function resolve(ProductInterface $product, ProductOptionInterface $productOption): Collection { dd('modify'); What…

VIEW QUESTION
Back To Top
Search