*/ public function toArray(Request $request): array { return [ 'id' => $this->id, 'name' => $this->name, 'initials' => $this->initials, 'job_title' => $this->job_title, 'department' => $this->department, 'location' => $this->location, 'email' => $this->email, 'phone' => $this->phone, 'avatar_url' => $this->avatarUrl(96), ]; } }