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
Product
ProductCategoryInterface
getMain
Sonata\Component\Product\ProductCategoryInterface::getMain PHP Method
ProductCategoryInterface Interface Documentation
Show file
Open project: sonata-project/ecommerce
getMain()
public
method
Get if product category is the main category.
public
getMain
( ) :
boolean
return
boolean
$main
public function getMain();
ProductCategoryInterface
getCategory
getCreatedAt
getEnabled
getMain
getProduct
getUpdatedAt
setCategory
setCreatedAt
setEnabled
setMain
setProduct
setUpdatedAt