Completed
Push — master ( e95261...40aeb3 )
by greg
04:30 queued 01:59
created

PostVoteView::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
use PlaygroundGame\Mapper\AbstractMapper;
6
7
class PostVoteView extends AbstractMapper
8
{
9
    public function getEntityRepository()
10
    {
11
        if (null === $this->er) {
12
            $this->er = $this->em->getRepository('PlaygroundGame\Entity\PostVoteView');
13
        }
14
15
        return $this->er;
16
    }
17
}
18