PHP Trait Flarum\Core\Support\DispatchEventsTrait

Afficher le fichier Open project: flarum/core

Protected Properties

Свойство Type Description
$events Illuminate\Contracts\Events\Dispatcher

Méthodes publiques

Méthode Description
dispatchEventsFor ( object $entity, User $actor = null ) Dispatch all events for an entity.

Method Details

dispatchEventsFor() public méthode

Dispatch all events for an entity.
public dispatchEventsFor ( object $entity, User $actor = null )
$entity object
$actor Flarum\Core\User

Property Details

$events protected_oe property

protected Dispatcher,Illuminate\Contracts\Events $events
Résultat Illuminate\Contracts\Events\Dispatcher