Sonata\Component\Event\AfterCalculatePriceEvent::__construct PHP Method

__construct() public method

public __construct ( Sonata\Component\Product\ProductInterface $product, Sonata\Component\Currency\CurrencyInterface $currency, boolean $vat, integer $quantity, float $price )
$product Sonata\Component\Product\ProductInterface
$currency Sonata\Component\Currency\CurrencyInterface
$vat boolean
$quantity integer
$price float
    public function __construct(ProductInterface $product, CurrencyInterface $currency, $vat, $quantity, $price)
    {
        parent::__construct($product, $currency, $vat, $quantity);
        $this->price = $price;
    }
AfterCalculatePriceEvent