*/ public function toArray(Request $request): array { return [ 'id' => $this->id, 'name' => $this->name, 'username' => $this->username, ]; } }