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

OAuthService   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace AppBundle\Service;
4
5
use AppBundle\Entity\OAuth;
6
use Doctrine\ORM\EntityManager;
7
use Ds\Component\Entity\Service\EntityService;
8
9
/**
10
 * Class OAuthService
11
 */
12
class OAuthService extends EntityService
13
{
14
    /**
15
     * Constructor
16
     *
17
     * @param \Doctrine\ORM\EntityManager $manager
18
     * @param string $entity
19
     */
20
    public function __construct(EntityManager $manager, $entity = OAuth::class)
21
    {
22
        parent::__construct($manager, $entity);
23
    }
24
}
25