app/Http/Requests/servicioInstRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'nombre' => 'required | min:3 | max:50',
            'descripcion' => 'required | min:3  ',
            'categoria' => 'required',
            'area' => 'required',
            'fotoP1' => 'required|mimes:jpeg,bmp,png,gif|dimensions:max_width=5500,max_height=5500',
        ];
    }
public function rules ( ) { return [ 'nombre' => 'required | min:3 | max:50' , 'descripcion' => 'required | min:3  ' , 'categoria' => 'required' , 'area' => 'required' , 'fotoP1' => 'required|mimes:jpeg,bmp,png,gif|dimensions:max_width=5500,max_height=5500' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .