Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Flarum
Core
Repository
NotificationRepository
PHP Class Flarum\Core\Repository\NotificationRepository
Afficher le fichier
Open project: flarum/core
Class Usage Examples
Méthodes publiques
Méthode
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
méthode
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
Résultat
Illuminate\Database\Eloquent\Collection
markAllAsRead()
public
méthode
Mark all of a user's notifications as read.
public
markAllAsRead
(
User
$user
) :
void
$user
Flarum\Core\User
Résultat
void