app/Http/Requests/FrontEnd/Mmcompany/CreateRequest.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 [
            'name'=>'required',
            'email' =>'required', 'password'=>'required' ,'address'=>'required','face'=>'required' , 'google'=>'required' ,
            'twitter'=>'required' , 'insta'=>'required' , 'phone'=>'required', 'code' =>'required|integer',
            'imageFile' => 'required|image',
        ];
    }
public function rules ( ) { return [ 'name' => 'required' , 'email' => 'required' , 'password' => 'required' , 'address' => 'required' , 'face' => 'required' , 'google' => 'required' , 'twitter' => 'required' , 'insta' => 'required' , 'phone' => 'required' , 'code' => 'required|integer' , 'imageFile' => 'required|image' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .