PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Paypal
/
Http
/
Requests
<?php /** * @package PaypalRequest * @author TechVillage <support@techvill.org> * @contributor Muhammad AR Zihad <[zihad.techvill@gmail.com]> * @created 15-2-22 */ namespace Modules\Paypal\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class PaypalRequest extends FormRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return config('paypal.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('paypal.validation')['attributes']; } }
[-] PaypalRequest.php
[edit]
[+]
..