Passed
Push — develop ( f58910...c1abea )
by Mario
02:45
created

Metadatas   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getResource() 0 3 1
A getOrder() 0 3 1
1
<?php
2
3
namespace AppBundle\Fixtures;
4
5
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
6
use Ds\Component\Metadata\Fixture\MetadataFixture;
7
8
/**
9
 * Class Metadatas
10
 */
11
class Metadatas extends MetadataFixture implements OrderedFixtureInterface
12
{
13
    /**
14
     * {@inheritdoc}
15
     */
16
    public function getOrder()
17
    {
18
        return 10;
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24
    protected function getResource()
25
    {
26
        return '/srv/api-platform/src/AppBundle/Resources/fixtures/{env}/metadatas.yml';
27
    }
28
}
29