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

DoctrineEndpoint::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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