Completed
Pull Request — master (#314)
by greg
03:20
created

TradingCardCard   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

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