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