PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Paystack
/
Http
/
Requests
<?php /** * @package PaystackRequest * @author TechVillage <support@techvill.org> * @contributor Muhammad AR Zihad <[zihad.techvill@gmail.com]> * @created 14-2-22 */ namespace Modules\Paystack\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class PaystackRequest extends FormRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return config('paystack.validation')['rules']; } /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Attributes custom names * * @return array */ public function attributes() { return config('paystack.validation')['attributes']; } }
[-] PaystackRequest.php
[edit]
[+]
..