%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/diaspora/api_internal/app/Http/Requests/Api/App/v1/
Upload File :
Create Path :
Current File : /var/www/html/diaspora/api_internal/app/Http/Requests/Api/App/v1/StoreDeviceRequest.php

<?php

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

use App\Http\Requests\BaseRequest;

class StoreDeviceRequest 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 [
            'uuid'         => 'required|string',
            'token'        => 'required|string',
            'language'     => 'required|string',
            'model'        => 'nullable|string',
            'platform'     => 'nullable|string',
            'version'      => 'nullable|string',
            'manufacturer' => 'nullable|string',
        ];
    }
}

Zerion Mini Shell 1.0