public function __construct(ProductPool $productPool, EventDispatcherInterface $eventDispatcher) { $this->productPool = $productPool; $this->eventDispatcher = $eventDispatcher; }