Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
App
Traits
CanFilterByUser
scopeByCurrentUser
App\Traits\CanFilterByUser::scopeByCurrentUser PHP Method
CanFilterByUser Trait Documentation
Mostra file
Open project: phanan/koel
scopeByCurrentUser()
public
method
public
scopeByCurrentUser
(
$query
)
public function scopeByCurrentUser($query) { return $query->whereUserId(auth()->user()->id); }
CanFilterByUser
scopeByCurrentUser