class DiscussionMetadataUpdater

Methods

subscribe(Dispatcher $events)

No description

whenPostWasPosted(PostWasPosted $event)

No description

whenPostWasDeleted(PostWasDeleted $event)

No description

whenPostWasHidden(PostWasHidden $event)

No description

whenPostWasRestored(PostWasRestored $event)

No description

removePost(Post $post)

No description

Details

subscribe(Dispatcher $events)

Parameters

Dispatcher $events

whenPostWasPosted(PostWasPosted $event)

Parameters

PostWasPosted $event

whenPostWasDeleted(PostWasDeleted $event)

Parameters

PostWasDeleted $event

whenPostWasHidden(PostWasHidden $event)

Parameters

PostWasHidden $event

whenPostWasRestored(PostWasRestored $event)

Parameters

PostWasRestored $event

protected removePost(Post $post)

Parameters

Post $post