app/Api/V1/Requests/VendorEditRequest.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 [
            'email' => 'required|email',
            'business_name' => 'required',
            'rc_number' => 'required',
            'tax_identification_number' => 'required',
            'phone' => 'required|min:8|max:20',
            'business_description' => 'required',
            'state_id' => 'required',
            'city_id' => 'required',
            'address_line_1' => 'required',
            'email1' => 'email',
            'website' => 'website',
            'first_name' => 'required|max:255',
            'last_name' => 'required|max:255',
            'logo' => 'image|mimes:jpeg,png,jpg,gif,svg',
        ];
    }
public function rules ( ) { return [ 'email' => 'required|email' , 'business_name' => 'required' , 'rc_number' => 'required' , 'tax_identification_number' => 'required' , 'phone' => 'required|min:8|max:20' , 'business_description' => 'required' , 'state_id' => 'required' , 'city_id' => 'required' , 'address_line_1' => 'required' , 'email1' => 'email' , 'website' => 'website' , 'first_name' => 'required|max:255' , 'last_name' => 'required|max:255' , 'logo' => 'image|mimes:jpeg,png,jpg,gif,svg' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .
//		    users table data