1
0
mirror of https://github.com/robonen/education-project.git synced 2026-03-20 02:44:31 +00:00

модуль Задания(почти готов)

This commit is contained in:
ashen-1-dev
2020-12-09 19:02:38 +07:00
parent 3c93886fef
commit ba578e9fdf
19 changed files with 842 additions and 302 deletions

View File

@@ -0,0 +1,26 @@
<?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',
];
}
}