%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/news/app/Http/Requests/Notifications/
Upload File :
Create Path :
Current File : /var/www/html/news/app/Http/Requests/Notifications/NotificationUpdateRequest.php

<?php

namespace App\Http\Requests\Media;


use App\Http\Requests\BaseRequest;
use App\Models\Media;

class NotificationUpdateRequest 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 [
            'send_notification_flag' => 'required|boolean',
            'subject'                => 'required|string',
            'greeting'               => 'required|string',
            'body'                   => 'required|string',
            'thank_you'              => 'required|string'
        ];
    }

    public function getSanitationRules()
    {
        return [];
    }
}

Zerion Mini Shell 1.0