Answers for "como usar uma request"

0

como usar uma request

/**
 * Get the validation rules that apply to the request.
 *
 * @return array
 */
public function rules()
{
    return [
        'title' => 'required|unique:posts|max:255',
        'body' => 'required',
    ];
}
Posted by: Guest on August-03-2021

Browse Popular Code Answers by Language