Notification hide.

This commit is contained in:
cuneytsenturk
2018-11-17 13:13:15 +03:00
parent 8b5fd52d3d
commit e78b786e42
11 changed files with 243 additions and 1 deletions

View File

@ -0,0 +1,31 @@
<?php
namespace App\Http\Requests\Common;
use App\Http\Requests\Request;
class Notification extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'path' => 'required|string',
'id' => 'required|integer',
];
}
}