|string> */ public function rules(): array { return [ 'phone' => ['required', 'string', new PhoneNumber], 'fullname' => 'nullable|string|max:255', 'national_code' => 'required|string|max:255', 'specialty' => 'nullable|string|max:255', 'clinic_name' => 'nullable|string|max:255', 'clinic_phone' => 'nullable|string|max:255', 'province' => 'nullable|string|max:255', 'city' => 'nullable|string|max:255', 'address' => 'nullable|string|max:255', 'level' => 'nullable|string|max:50', ]; } }