public function sometimes($attribute, $rules) { $this->validator->sometimes($attribute, $rules); return $this; }