Current File : //proc/thread-self/root/home/itiffy/public_html/app/Http/Requests/UpdateGatwayRequest.php |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateGatwayRequest extends FormRequest {
/**
* 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 [
'mode' => 'required',
'account_number' => 'required',
'publish_key' => 'required',
'private_key' => 'required',
];
}
}