Completed
Pull Request — master (#9)
by Samuel
01:34
created

AppFixtures::load()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace App\DataFixtures;
4
5
use Doctrine\Bundle\FixturesBundle\Fixture;
6
use Doctrine\Common\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