Copied!

PriceResolverInterface

PriceResolverInterface.php : 16

Methods

publicresolvePrice()

PriceResolverInterface.php : 18
public resolvePrice(ProductInterface $product[, PriceContextInterface|null $context = null ]) : PriceInterface|null

Parameters

Name Type Default value Description
$product ProductInterface - -
$context PriceContextInterface|null null -

Return values

PriceInterface|null

publicresolvePrices()

PriceResolverInterface.php : 28
public resolvePrices(array<string|int, ProductInterface$products[, PriceContextInterface|null $context = null ]) : MapInterface<ProductInterface, PriceInterface|null>

Parameters

Name Type Default value Description
$products array<string|int, ProductInterface> - -
$context PriceContextInterface|null null -

Return values

MapInterface<ProductInterface, PriceInterface|null>