app/Http/Requests/Backend/Student/StoreStudentRequest.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 [
            'first_name' => 'required',
            'last_name'  => 'required',
            'gender'     => 'required',
            'standard'   => 'required',
        ];
    }
public function rules ( ) { return [ 'first_name' => 'required' , 'last_name' => 'required' , 'gender' => 'required' , 'standard' => 'required' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .