Method | Description | |
---|---|---|
subscribe ( Illuminate\Contracts\Events\Dispatcher $events ) | ||
whenDiscussionWasDeleted ( |
||
whenDiscussionWasStarted ( |
||
whenPostWasDeleted ( |
||
whenPostWasHidden ( |
||
whenPostWasPosted ( |
||
whenPostWasRestored ( |
Method | Description | |
---|---|---|
updateCommentsCount ( |
||
updateDiscussionsCount ( |
public subscribe ( Illuminate\Contracts\Events\Dispatcher $events ) | ||
$events | Illuminate\Contracts\Events\Dispatcher |
protected updateCommentsCount ( |
||
$post | ||
$amount | integer |
protected updateDiscussionsCount ( |
||
$discussion | ||
$amount | integer |
public whenDiscussionWasDeleted ( |
||
$event |
public whenDiscussionWasStarted ( |
||
$event |
public whenPostWasDeleted ( |
||
$event |
public whenPostWasHidden ( |
||
$event |
public whenPostWasPosted ( |
||
$event |
public whenPostWasRestored ( |
||
$event |