public __construct ( integer $postId, |
||
$postId | integer | The ID of the post to edit. |
$actor | The user performing the action. | |
$data | array | The attributes to update on the post. |
public function __construct($postId, User $actor, array $data)
{
$this->postId = $postId;
$this->actor = $actor;
$this->data = $data;
}