AppFixtures::load()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 6
rs 10
1
<?php
2
3
namespace App\DataFixtures;
4
5
use Doctrine\Bundle\FixturesBundle\Fixture;
6
use Doctrine\Persistence\ObjectManager;
7
8
class AppFixtures extends Fixture
9
{
10
    public function load(ObjectManager $manager)
11
    {
12
        // $product = new Product();
13
        // $manager->persist($product);
14
15
        $manager->flush();
16
    }
17
}
18