Skip to content

Commit 6d9302a

Browse files
authored
Add Product dependency in fixtures example code
1 parent 61289fd commit 6d9302a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/database.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Customize the new class to load ``Product`` objects into Doctrine::
9191
// src/DataFixtures/ProductFixture.php
9292
namespace App\DataFixtures;
9393

94+
use App\Entity\Product;
9495
use Doctrine\Bundle\FixturesBundle\Fixture;
9596
use Doctrine\Common\Persistence\ObjectManager;
9697

0 commit comments

Comments
 (0)