app/Http/Requests/CheckNewsRequest.php
/**
	 * Get the validation rules that apply to the request.
	 *
	 * @return array
	 */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules() {
		return [
			'news_tittle' => 'required|max:255',
			'news_category' => 'required',
			'news_image' => 'mimes:jpg,jpeg,bmp,png',
			'news_detail' => 'required',
		];
	}
public function rules ( ) { return [ 'news_tittle' => 'required|max:255' , 'news_category' => 'required' , 'news_image' => 'mimes:jpg,jpeg,bmp,png' , 'news_detail' => 'required' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .