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

OAuthService::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
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