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

Memory::getEntityRepository()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

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