Completed
Push — master ( 00af25...80eab7 )
by Ramūnas
10:30
created

LoadTest3BundleData1   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 29
wmc 4
lcom 0
cbo 1
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getVersion() 0 4 1
A setLoadedVersion() 0 3 1
A load() 0 3 1
A getOrder() 0 4 1
1
<?php
2
namespace RDV\Bundle\MigrationBundle\Tests\Unit\Fixture\TestPackage\Test3Bundle\Migrations\Data\ORM;
3
4
use Doctrine\Common\DataFixtures\AbstractFixture;
5
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
6
use Doctrine\Common\Persistence\ObjectManager;
7
8
use RDV\Bundle\MigrationBundle\Fixture\VersionedFixtureInterface;
9
10
class LoadTest3BundleData1 extends AbstractFixture implements VersionedFixtureInterface, OrderedFixtureInterface
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function getVersion()
16
    {
17
        return '1.0';
18
    }
19
20
    public function setLoadedVersion($version = null)
21
    {
22
    }
23
24
    /**
25
     * {@inheritdoc}
26
     */
27
    public function load(ObjectManager $manager)
28
    {
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34
    public function getOrder()
35
    {
36
        return 1;
37
    }
38
}
39