%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/o91-api/app/Http/Requests/Api/v1/UserApplications/
Upload File :
Create Path :
Current File : /var/www/html/o91-api/app/Http/Requests/Api/v1/UserApplications/UserApplicationRequest.php

<?php

namespace App\Http\Requests\Api\v1\UserApplications;

use App\Http\Requests\BaseRequest;

class UserApplicationRequest extends BaseRequest
{
    /**
     * 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 [
            'name'              => 'required|string|max:255',
            'surname'           => 'required|string|max:255',
            'phone'             => 'required|string|max:255',
            'email'             => 'required|email|max:255',
            'short_description' => 'required|string|max:255',
        ];
    }
}

Zerion Mini Shell 1.0