Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Flarum
Core
Repository
NotificationRepository
PHP Class Flarum\Core\Repository\NotificationRepository
Mostrar archivo
Open project: flarum/core
Class Usage Examples
Public Methods
Method
Description
findByUser
(
User
$user
,
integer
|
null
$limit
= null,
integer
$offset
) :
Illuminate\Database\Eloquent\Collection
Find a user's notifications.
markAllAsRead
(
User
$user
) :
void
Mark all of a user's notifications as read.
Method Details
findByUser()
public
method
Find a user's notifications.
public
findByUser
(
User
$user
,
integer
|
null
$limit
= null,
integer
$offset
) :
Illuminate\Database\Eloquent\Collection
$user
Flarum\Core\User
$limit
integer
|
null
$offset
integer
return
Illuminate\Database\Eloquent\Collection
markAllAsRead()
public
method
Mark all of a user's notifications as read.
public
markAllAsRead
(
User
$user
) :
void
$user
Flarum\Core\User
return
void