PHP Класс Sonata\Component\Event\AfterCalculatePriceEvent

Автор: Hugo Briand ([email protected])
Наследование: extends BeforeCalculatePriceEvent
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$price float

Открытые методы

Метод Описание
__construct ( Sonata\Component\Product\ProductInterface $product, Sonata\Component\Currency\CurrencyInterface $currency, boolean $vat, integer $quantity, float $price )
getPrice ( ) : float
setPrice ( float $price )

Описание методов

__construct() публичный Метод

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 getPrice ( ) : float
Результат float

setPrice() публичный Метод

public setPrice ( float $price )
$price float

Описание свойств

$price защищенное свойство

protected float $price
Результат float