Skip to content

Commit beff273

Browse files
committed
minor #12521 Add Product dependency in fixtures example code (unlikenesses)
This PR was merged into the 4.3 branch. Discussion ---------- Add Product dependency in fixtures example code <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 6d9302a Add Product dependency in fixtures example code
2 parents 61289fd + 6d9302a commit beff273

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)