%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/camillo/camillo-api-master/app/Http/Requests/
Upload File :
Create Path :
Current File : /var/www/html/camillo/camillo-api-master/app/Http/Requests/XcallyRequest.php

<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class XcallyRequest extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'alert_id' => 'required|string',
            'name' => 'required|string',
            'surname' => 'required|string',
            'phone' => 'required|string',
            'result' => 'required|string'
        ];
    }
}

Zerion Mini Shell 1.0