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

AppFixtures   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 7 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