31 public function load($limit, $offset =
null, $lower =
null, $upper =
null)
33 $prices = $this->resource->loadPrices($limit, $offset, $lower, $upper);
34 return $this->arrayValuesToFloat(
$prices);
43 return $this->arrayValuesToFloat(
$prices);
51 $prices = $this->resource->loadNextPrices(
$data, $rightIndex, $upper);
52 return $this->arrayValuesToFloat(
$prices);
61 private function arrayValuesToFloat(
$prices)
65 $returnPrices = array_map(
'floatval',
$prices);
__construct(\Magento\Catalog\Model\ResourceModel\Layer\Filter\Price $resource)
loadPrevious($data, $index, $lower=null)
loadNext($data, $rightIndex, $upper=null)
load($limit, $offset=null, $lower=null, $upper=null)