1
0
mirror of https://github.com/robonen/education-project.git synced 2026-06-20 01:55:17 +00:00
Files
education-project/app/Http/Requests/TaskRequest.php
T
2020-12-09 19:02:38 +07:00

27 lines
406 B
PHP

<?php
namespace App\Http\Requests;
class TaskRequest extends ApiFormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'name' => 'required|max:255',
];
}
}