<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class EventRegistration extends FormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'email' => 'required|email',
            'lang' => 'alpha_dash|max:6',
            'gtoken' => 'required|string',
            'acceptsMarketing' => 'boolean'
        ];
    }
}
