LoadGameDateData   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 11
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 8 1
1
<?php
2
3
namespace OSS\CoreBundle\DataFixtures\ORM;
4
5
use Doctrine\Common\DataFixtures\FixtureInterface;
6
use Doctrine\Common\Persistence\ObjectManager;
7
use OSS\CoreBundle\Entity\GameDate;
8
9
class LoadGameDateData implements FixtureInterface
10
{
11
    public function load(ObjectManager $manager)
12
    {
13
        $gameDate = new GameDate();
14
15
        $manager->persist($gameDate);
16
17
        $manager->flush();
18
    }
19
}
20