public function transform($price)
    {
        $this->loadPriceMap();

        if (!$price) {
            return 0;
        }

        $price = intval($price * 100);

        if (!isset($this->pricesMap[$price])) {
            throw new \InvalidArgumentException(sprintf(
                'Can\'t transform price "%s". Not found price in prices map.',
                $price / 100
            ));
        }

        return $this->pricesMap[$price] / 100;
    }
public function transform($price)
    {
        $this->loadPriceMap();

        if (!$price) {
            return 0;
        }

        $price = intval($price * 100);

        if (!isset($this->pricesMap[$price])) {
            throw new \InvalidArgumentException(sprintf(
                'Can\'t transform price "%s". Not found price in prices map.',
                $price / 100
            ));
        }

        return $this->pricesMap[$price] / 100;
    }
{@inheritDoc}