Skip to content

Commit 46252b7

Browse files
The namespace was missing
1 parent a35d4a8 commit 46252b7

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)