public getProducts ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public function getProducts() : Collection;
public function visitOrder(OrderInterface $order) { $order->getProducts()->map(function (OrderProductInterface $orderProduct) { $this->refreshOrderProductSellPrice($orderProduct); $this->refreshOrderProductBuyPrice($orderProduct); $this->refreshOrderProductVariantOptions($orderProduct); }); }