Passed
Push — develop ( 70acef...7a1ba2 )
by Mario
02:43
created

Parameters   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
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\System;
4
5
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
6
use Ds\Component\Config\Fixture\ParameterFixture;
7
8
/**
9
 * Class Parameters
10
 */
11
class Parameters extends ParameterFixture implements OrderedFixtureInterface
12
{
13
    /**
14
     * {@inheritdoc}
15
     */
16
    public function getOrder()
17
    {
18
        return 0;
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24
    protected function getResource()
25
    {
26
        return '/srv/api-platform/src/AppBundle/Resources/fixtures/{env}/system/parameters.yml';
27
    }
28
}
29