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
Mage2
Catalog
Models
Category
parentCategory
Mage2\Catalog\Models\Category::parentCategory PHP Method
Category Class Documentation
Show file
Open project: mage2/laravel-ecommerce
parentCategory()
public
method
public
parentCategory
( )
public function parentCategory() { return $this->belongsTo(self::class, 'parent_id'); }
Category
__construct
children
getAllCategories
getChilds
getParentNameAttribute
list_categories
parentCategory
products
website