PHP Class Flarum\Core\Listener\DiscussionRenamedNotifier

Mostra file Open project: flarum/core

Protected Properties

Property Type Description
$notifications Flarum\Core\Notification\NotificationSyncer

Public Methods

Method Description
__construct ( NotificationSyncer $notifications )
subscribe ( Illuminate\Contracts\Events\Dispatcher $events )
whenDiscussionWasRenamed ( DiscussionWasRenamed $event )

Method Details

__construct() public method

public __construct ( NotificationSyncer $notifications )
$notifications Flarum\Core\Notification\NotificationSyncer

subscribe() public method

public subscribe ( Illuminate\Contracts\Events\Dispatcher $events )
$events Illuminate\Contracts\Events\Dispatcher

whenDiscussionWasRenamed() public method

public whenDiscussionWasRenamed ( DiscussionWasRenamed $event )
$event Flarum\Event\DiscussionWasRenamed

Property Details

$notifications protected_oe property

protected NotificationSyncer,Flarum\Core\Notification $notifications
return Flarum\Core\Notification\NotificationSyncer