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

DoctrineEndpoint   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setEntityManager() 0 3 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