Passed
Push — master ( b0e1d7...34bc8c )
by
unknown
02:32
created

MangoPayRepositoryFactory   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getBundleName() 0 4 1
A getEntityManagerName() 0 4 1
1
<?php
2
3
/**
4
 * Created by Graham Owens ([email protected])
5
 * Company: PartFire Ltd (www.partfire.co.uk)
6
 * Console: Discovery
7
 *
8
 * User:    gra
9
 * Date:    20/01/17
10
 * Time:    09:28
11
 * Project: fruitful-property-investments
12
 * File:    MangoPayRepositoryFactory.php
13
 *
14
 **/
15
16
namespace PartFire\MangoPayBundle\Entity\Repository;
17
18
use PartFire\CommonBundle\Entity\Repository\Repository;
19
use PartFire\CommonBundle\Entity\Repository\RepositoryBaseFactory;
20
21
class MangoPayRepositoryFactory extends RepositoryBaseFactory implements Repository
22
{
23
    public $bundleName = "PartFireMangoPayBundle";
24
25
    public function getBundleName()
26
    {
27
        return $this->bundleName;
28
    }
29
30
    public function getEntityManagerName()
31
    {
32
        return $this->entityManagerName;
33
    }
34
}