title: Laravel 8 with laravelcollective/html 6.2, Action Controller@function not defined
body: <p>I am new to Laravel and Stackoverflow</p>
  <p>When Laravel7 is released, I started to learn Laravel.
  The new version 8.0 was introduced not long ago and I started to try it.</p>
  <p>I cannot define that the problem is caused by a newer version of Laravelor any misconfiguration.</p>
  <p>When I try the following (edit.blade.php)</p>
  <p><code>{!! Form::open(['action' =&gt; ['ProductController@update', $product-&gt;id], 'method' =&gt; 'POST']) !!}</code></p>
  <p>or</p>
  <p><code>{!! Form::open(['action' =&gt; [[ProductController::class, 'update'], $product-&gt;id], 'method' =&gt; 'POST']) !!}</code></p>
  <p>an error occurred</p>
  <p><strong>Action ProductController@update not defined</strong></p>
  <p>then I tried to replace the controller name with a path like</p>
  <p><code>{!! Form::open(['action' =&gt; ['App\Http\Controllers\ProductController@update', $product-&gt;id], 'method' =&gt; 'POST']) !!}</code></p>
  <p>or</p>
  <p><code>{!! Form::open(['action' =&gt; [[App\Http\Controllers\ProductController::class, 'update'], $product-&gt;id], 'method' =&gt; 'POST']) !!}</code></p>
  <p><strong>It works!</strong></p>
  <p>so I think this is about namespace</p>
  <p>but I have a namespace heading
  <code>namespace App\Http\Controllers;</code> in my App\Http\ProductController.php</p>
  <p>although I can solve the problem by typing the full path of the controller in the collective form,
  I am worried that my code has configuration error or syntax errors, etc.</p>