AsgardCms/Workshop

View on GitHub
Http/Requests/GenerateModuleRequest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php namespace Modules\Workshop\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class GenerateModuleRequest extends FormRequest
{
    public function rules()
    {
        return [
            'name' => 'required',
        ];
    }

    public function authorize()
    {
        return true;
    }

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