Passed
Push — develop ( 0bfd92...f25835 )
by Mario
03:25
created

OAuths   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 getOrder() 0 3 1
A getResource() 0 3 1
1
<?php
2
3
namespace AppBundle\Fixtures;
4
5
use AppBundle\Fixture\OAuthFixture;
6
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
7
8
/**
9
 * Class OAuths
10
 */
11
class OAuths extends OAuthFixture implements OrderedFixtureInterface
12
{
13
    /**
14
     * {@inheritdoc}
15
     */
16
    public function getOrder()
17
    {
18
        return 21;
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24
    protected function getResource()
25
    {
26
        return '/srv/api-platform/src/AppBundle/Resources/fixtures/{env}/user/*/oauths.yml';
27
    }
28
}
29