value; } /** * There is no rule here for the file contents since we just use the body content * on the request to set the file contents. If nothing is passed that is fine since * it just means we want to set the file to be empty. * * @return ValidationRules */ public function rules(): array { return [ 'file' => ['required', 'string'], ]; } }