How to call validator from request class in controller method? Laravel 8

前端 未结 0 468
轻奢々
轻奢々 2021-02-13 19:48

I need to use validation in these two methods:

public function store(ResourceRequest $request)
{
    $page = new Page();
    $page->create([
        \'content\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题