app/Http/Requests/TestimonialRequest.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 [
            't_name' => 'required',
            't_testimonial' => 'required|max:250',
            't_image' => 'required|max:1048|mimes:jpeg,jpg,png'
        ];
    }
public function rules ( ) { return [ 't_name' => 'required' , 't_testimonial' => 'required|max:250' , 't_image' => 'required|max:1048|mimes:jpeg,jpg,png' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .