public getProductFromRaw ( Sonata\Component\Order\OrderElementInterface $orderElement, string $type, string $format = 'json' ) : Sonata\Component\Product\ProductInterface | ||
$orderElement | Sonata\Component\Order\OrderElementInterface | |
$type | string | |
$format | string | |
return | Sonata\Component\Product\ProductInterface |