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
Fenos
Notifynder
Models
Notification
scopeByStack
Fenos\Notifynder\Models\Notification::scopeByStack PHP Method
Notification Class Documentation
Show file
Open project: fenos/notifynder
scopeByStack()
public
method
Filter Scope by stack.
public
scopeByStack
(
$query
,
$stackId
) :
mixed
$query
$stackId
return
mixed
public function scopeByStack($query, $stackId) { return $query->where('stack_id', $stackId); }
Notification
__construct
body
from
getCustomFillableFields
getExtraAttribute
getNotifyBodyAttribute
getStack
getTextAttribute
hasStack
mergeFillable
newCollection
scopeByCategory
scopeByStack
scopeOnlyExpired
scopeWherePolymorphic
scopeWithNotRead
to