Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Elcodi
Component
Product
Entity
Product
hasVariants
Elcodi\Component\Product\Entity\Product::hasVariants PHP Метод
Документация по классу Product
Показать файл
Открыть проект
hasVariants()
публичный
Метод
Tells if this product has variants.
public
hasVariants
( ) :
boolean
Результат
boolean
Product has variants
public function hasVariants() { return !$this->variants->isEmpty(); }
Product
addAttribute
addCategory
addVariant
getAttributes
getPrincipalVariant
getPurchasableType
getType
getVariants
hasVariants
removeAttribute
removeCategory
setAttributes
setCategories
setManufacturer
setPrincipalCategory
setPrincipalVariant
setType
setVariants