Completed
Push — master ( b2f6a0...202331 )
by John
02:11
created

DoctrineEndpoint::setEntityManager()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace LunixREST\Endpoints;
3
4
/**
5
 * Class DoctrineEndpoint
6
 * @package LunixREST\Endpoints
7
 */
8
abstract class DoctrineEndpoint extends Endpoint {
9
    private $entityManager;
10
11
    public function setEntityManager(EntityManager $em){
12
        $this->entityManager = $em;
13
    }
14
}
15