XmlLotomania   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A putFileName() 0 6 1
1
<?php
2
3
namespace LoteriaApi\Provider\Reader;
4
5
class XmlLotomania extends AbstractXmlLoteria
6
{
7
    protected function putFileName()
8
    {
9
        $filename = $this->configDatasource->getData()['lotomania']['xml'];
10
        $path = $this->configPath->getData()['path']['xml'];
11
        $this->filename = $path . $filename;
12
    }
13
}
14