PHP Class Sonata\Component\Event\AfterCalculatePriceEvent

Author: Hugo Briand ([email protected])
Inheritance: extends BeforeCalculatePriceEvent
Afficher le fichier Open project: sonata-project/ecommerce

Protected Properties

Свойство Type Description
$price float

Méthodes publiques

Méthode Description
__construct ( Sonata\Component\Product\ProductInterface $product, Sonata\Component\Currency\CurrencyInterface $currency, boolean $vat, integer $quantity, float $price )
getPrice ( ) : float
setPrice ( float $price )

Method Details

__construct() public méthode

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

getPrice() public méthode

public getPrice ( ) : float
Résultat float

setPrice() public méthode

public setPrice ( float $price )
$price float

Property Details

$price protected_oe property

protected float $price
Résultat float