Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
app
Category
scopeMothers
app\Category::scopeMothers PHP 메소드
Category 1 문서
파일 보기
프로젝트 열기: ant-vel/antVel
scopeMothers()
공개
메소드
scopeMothers Retrieve the main categories.
public
scopeMothers
(
[type]
$query
) :
[type]
$query
[type]
리턴
[type]
public function scopeMothers($query) { return $query->whereNull('category_id'); }
Category
category
getChildsAttribute
getParentAttribute
getParentTreeAttribute
hasChildren
hasChilds
hasParent
newCollection
parentsTree
product
progeny
scopeActives
scopeByName
scopeChildsOf
scopeFull
scopeGroup
scopeInactives
scopeLightSelection
scopeMothers
scopeSearch
scopeStore
withChilds
withFamilyTree
withParentTree