app/Http/Requests/Language/LanguageRequest.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'                =>'require:languages',
            'iso_code'            =>'require:languages',
            'lang_code '          =>'require:languages',
        ];
    }
public function rules ( ) { return [ 'name' => 'require:languages' , 'iso_code' => 'require:languages' , 'lang_code ' => 'require:languages' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .