akaunting/modules/OfflinePayments/Http/Requests/SettingDelete.php

31 lines
531 B
PHP
Raw Normal View History

2017-09-14 19:21:00 +00:00
<?php
2019-11-16 07:21:14 +00:00
namespace Modules\OfflinePayments\Http\Requests;
2017-09-14 19:21:00 +00:00
2019-11-16 07:21:14 +00:00
use App\Abstracts\Http\FormRequest as Request;
2017-09-14 19:21:00 +00:00
class SettingDelete 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 [
'code' => 'required|string',
];
}
}