akaunting/app/Http/Requests/Common/BulkAction.php

22 lines
374 B
PHP
Raw Normal View History

2017-11-16 23:09:11 +00:00
<?php
2019-11-16 07:21:14 +00:00
namespace App\Http\Requests\Common;
2017-11-16 23:09:11 +00:00
2019-11-16 07:21:14 +00:00
use App\Abstracts\Http\FormRequest;
2017-11-16 23:09:11 +00:00
2019-11-16 07:21:14 +00:00
class BulkAction extends FormRequest
2017-11-16 23:09:11 +00:00
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
2019-11-16 07:21:14 +00:00
'handle' => 'required|string',
'selected' => 'required',
2017-11-16 23:09:11 +00:00
];
}
}