From 46252b7a76a6186d7e6d842afa357ce95a438e9e Mon Sep 17 00:00:00 2001 From: Jordan Bradford Date: Thu, 29 Mar 2018 16:18:04 -0500 Subject: [PATCH] The namespace was missing --- quick_tour/flex_recipes.rst | 2 ++ 1 file changed, 2 insertions(+) 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;