diff --git a/quick_tour/flex_recipes.rst b/quick_tour/flex_recipes.rst index a5638372705..692c62faa9d 100644 --- a/quick_tour/flex_recipes.rst +++ b/quick_tour/flex_recipes.rst @@ -177,6 +177,8 @@ rich API for a ``product`` table? Create a ``Product`` entity and give it the // src/Entity/Product.php // ... + + namespace App\Entity; use ApiPlatform\Core\Annotation\ApiResource; use Doctrine\ORM\Mapping as ORM;