PHP Class Flarum\Core\Command\ReadAllNotificationsHandler

Inheritance: use trait Flarum\Core\Access\AssertPermissionTrait
Mostra file Open project: flarum/core

Protected Properties

Property Type Description
$notifications Flarum\Core\Repository\NotificationRepository

Public Methods

Method Description
__construct ( NotificationRepository $notifications )
handle ( ReadAllNotifications $command )

Method Details

__construct() public method

public __construct ( NotificationRepository $notifications )
$notifications Flarum\Core\Repository\NotificationRepository

handle() public method

public handle ( ReadAllNotifications $command )
$command ReadAllNotifications

Property Details

$notifications protected_oe property

protected NotificationRepository,Flarum\Core\Repository $notifications
return Flarum\Core\Repository\NotificationRepository