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

22 lines
374 B
PHP
Raw Normal View History

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