Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
Component
Basket
BasketElement
hasOption
Sonata\Component\Basket\BasketElement::hasOption PHP Method
BasketElement Class Documentation
Show file
Open project: sonata-project/ecommerce
hasOption()
public
method
public
hasOption
(
$name
)
public function hasOption($name) { return array_key_exists($name, $this->options); }
BasketElement
getDelete
getName
getOption
getOptions
getPosition
getPrice
getProduct
getProductCode
getProductDefinition
getProductId
getProductManager
getProductProvider
getQuantity
getTotal
getUnitPrice
getVatAmount
getVatRate
hasOption
hasProductDefinition
isPriceIncludingVat
isValid
serialize
setDelete
setOption
setOptions
setPosition
setPrice
setPriceIncludingVat
setProduct
setProductDefinition
setProductId
setQuantity
setUnitPrice
setVatRate
unserialize