Completed
Push — master ( b3d468...1a1ba8 )
by John
02:05
created

DoctrineEndpoint   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
namespace LunixREST\Endpoint;
3
use Doctrine\ORM\EntityManager;
4
5
/**
6
 * Class DoctrineEndpoint
7
 * @package LunixREST\Endpoints
8
 */
9
class DoctrineEndpoint extends DefaultEndpoint {
10
    protected $entityManager;
11
12
    public function __construct(EntityManager $em){
13
        $this->entityManager = $em;
14
    }
15
}
16