app/Http/Requests/BlogRequest.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 [
            'tittle.required' => 'Please fill the tittle.',
            'summary.required' => 'Please fill the summary.',
            'content.required' => 'Please fill the content.',
            'url.required' => 'Please fill the url.',
            'user_id.required' => 'Please fill the user_id.',
            'category_id.required' => 'Please fill the category_id.',
        ];
    }
public function messages ( ) { return [ 'tittle.required' => 'Please fill the tittle.' , 'summary.required' => 'Please fill the summary.' , 'content.required' => 'Please fill the content.' , 'url.required' => 'Please fill the url.' , 'user_id.required' => 'Please fill the user_id.' , 'category_id.required' => 'Please fill the category_id.' , ] ; }
Get the error messages for the defined validation rules.
Get the error messages for the defined validation rules .