public function __construct(Post $post, User $actor, array $data = []) { $this->post = $post; $this->actor = $actor; $this->data = $data; }