app/Http/Requests/agregarAlumnoDesdeAreaRequest.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 [
            'nombres' => 'required',
            'apellidos' => 'required',
            'fecha' => 'date|required',
            'id_sexo' => 'required',
            'telefono' => 'required|min:11|numeric',
            'correo' => 'required | email | unique:users,email'
        ];
    }
public function rules ( ) { return [ 'nombres' => 'required' , 'apellidos' => 'required' , 'fecha' => 'date|required' , 'id_sexo' => 'required' , 'telefono' => 'required|min:11|numeric' , 'correo' => 'required | email | unique:users,email' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .