Skip to content

Commit a7e94f4

Browse files
committed
minor #9522 Missing namespace (LordPachelbel)
This PR was merged into the 4.0 branch. Discussion ---------- Missing namespace This tripped me up when I was going through this tutorial until I figured out what the namespace was supposed to be. Commits ------- 46252b7 The namespace was missing
2 parents 7aa93a7 + 46252b7 commit a7e94f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

quick_tour/flex_recipes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ rich API for a ``product`` table? Create a ``Product`` entity and give it the
177177

178178
// src/Entity/Product.php
179179
// ...
180+
181+
namespace App\Entity;
180182

181183
use ApiPlatform\Core\Annotation\ApiResource;
182184
use Doctrine\ORM\Mapping as ORM;

0 commit comments

Comments
 (0)