class SortProductsByPrice (View source)

Methods

void
execute(Collection $products, Currency $currency, string $direction = 'asc')

Execute the action.

getMinPrice(Product $product, Currency $currency)

No description

Details

void execute(Collection $products, Currency $currency, string $direction = 'asc')

Execute the action.

Parameters

Collection $products
Currency $currency
string $direction

Return Value

void

protected getMinPrice(Product $product, Currency $currency)

No description

Parameters

Product $product
Currency $currency