class DeletePost

Properties

int $postId The ID of the post to delete.
User $actor The user performing the action.
array $data Any other user input associated with the action. This is unused by default, but may be used by extensions.

Methods

__construct(int $postId, User $actor, array $data = [])

No description

Details

__construct(int $postId, User $actor, array $data = [])

Parameters

int $postId The ID of the post to delete.
User $actor The user performing the action.
array $data Any other user input associated with the action. This is unused by default, but may be used by extensions.