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