Current File : //proc/self/root/home/itiffy/public_html/app/Http/Requests/CreateHomeRequest.php
<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class CreateHomeRequest 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 [
            'banner1' => 'required', 
            'banner2' => 'required', 
            'banner3' => 'required', 
            'section1' => 'required', 
            'section2' => 'required', 
            'section3' => 'required', 
            'section4' => 'required', 
            'section6' => 'required', 
            
		];
	}
}