2019-06-21 04:52:37 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
|
2020-03-29 01:03:52 +08:00
|
|
|
use App\Contracts\FormRequest;
|
2019-06-21 04:52:37 +08:00
|
|
|
use App\Models\Role;
|
|
|
|
|
|
|
|
class CreateRoleRequest extends FormRequest
|
|
|
|
{
|
|
|
|
public function rules(): array
|
|
|
|
{
|
|
|
|
return Role::$rules;
|
|
|
|
}
|
|
|
|
}
|