cslant/laravel-generator-advanced

View on GitHub
src/Http/Requests/Generator/RepositoryGeneratorRequest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace CSlant\LaraGenAdv\Http\Requests\Generator;

use CSlant\LaraGenAdv\Http\Requests\ApiRequest;

class RepositoryGeneratorRequest extends ApiRequest
{
    public function rules(): array
    {
        return [
            'model' => 'required|string|max:255',
        ];
    }
}