Completed
Push — master ( 171548...4aa860 )
by greg
38:01 queued 19:03
created

PostVoteComment::getEntityRepository()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 2
eloc 4
nc 2
nop 0
1
<?php
2
3
namespace PlaygroundGame\Mapper;
4
5
use PlaygroundGame\Mapper\AbstractMapper;
6
7
class PostVoteComment extends AbstractMapper
8
{
9
10
    public function getEntityRepository()
11
    {
12
        if (null === $this->er) {
13
            $this->er = $this->em->getRepository('PlaygroundGame\Entity\PostVoteComment');
14
        }
15
16
        return $this->er;
17
    }
18
}
19