app/Http/Requests/UpdatePostRequest.php
/**
	* Get the error messages for the defined validation rules.
	*
	* @return array
	*/
Get the error messages for the defined validation rules.
@return array
Get the error messages for the defined validation rules . @return array
public function messages()
	{
		return [
			'title.required' => 'A post title is required',
			'content.required'  => 'A post content is required',
		];
	}
public function messages ( ) { return [ 'title.required' => 'A post title is required' , 'content.required' => 'A post content is required' , ] ; }
Get the error messages for the defined validation rules.
Get the error messages for the defined validation rules .