Completed
Push — develop ( f8651f...893e32 )
by greg
02:30
created

Memory   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEntityRepository() 0 8 2
1
<?php
2
3
namespace PlaygroundGame\Mapper;
4
5
class Memory extends Game
6
{
7
    public function getEntityRepository()
8
    {
9
        if (null === $this->er) {
10
            $this->er = $this->em->getRepository('PlaygroundGame\Entity\Memory');
11
        }
12
13
        return $this->er;
14
    }
15
}
16