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