PATH:
home
/
lab2454c
/
costbloc.com
/
app
/
Http
/
Requests
/
Site
<?php namespace App\Http\Requests\Site; use Illuminate\Foundation\Http\FormRequest; class OrderStoreRequest 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 [ 'selected_tab' => 'required|in:new,old', 'address_id' => 'sometimes|exists:addresses,id' ]; } }
[-] OrderStoreRequest.php
[edit]
[-] WishlistStoreRequest.php
[edit]
[+]
..
[-] SellerRequest.php
[edit]
[-] StoreSellerRequest.php
[edit]