class DeletePost

Properties

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

Methods

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

No description

Details

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

Parameters

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