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
getPrincipalVariant
Elcodi\Component\Product\Entity\Product::getPrincipalVariant PHP Метод
Документация по классу Product
Показать файл
Открыть проект
getPrincipalVariant()
публичный
Метод
Returns product principal variant.
public
getPrincipalVariant
( ) :
Elcodi\Component\Product\Entity\Interfaces\VariantInterface
Результат
Elcodi\Component\Product\Entity\Interfaces\VariantInterface
public function getPrincipalVariant() { return $this->principalVariant; }
Product
addAttribute
addCategory
addVariant
getAttributes
getPrincipalVariant
getPurchasableType
getType
getVariants
hasVariants
removeAttribute
removeCategory
setAttributes
setCategories
setManufacturer
setPrincipalCategory
setPrincipalVariant
setType
setVariants