app/Http/Requests/ResumeRequest.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 [
            'value.basic.first_name' => 'required',
            'value.basic.last_name' => 'required',
            'value.basic.title' => 'required',
            'value.basic.phone' => 'required',
            'value.basic.birth_date' => 'required|date',
            'value.basic.address' => 'required',
        ];
    }
public function rules ( ) { return [ 'value.basic.first_name' => 'required' , 'value.basic.last_name' => 'required' , 'value.basic.title' => 'required' , 'value.basic.phone' => 'required' , 'value.basic.birth_date' => 'required|date' , 'value.basic.address' => 'required' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .