Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Flarum
Core
Repository
NotificationRepository
PHP Class Flarum\Core\Repository\NotificationRepository
Exibir arquivo
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