XmlMegasena::putFileName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace LoteriaApi\Provider\Reader;
4
5
class XmlMegasena extends AbstractXmlLoteria
6
{
7
    protected function putFileName()
8
    {
9
        $filename = $this->configDatasource->getData()['megasena']['xml'];
10
        $path = $this->configPath->getData()['path']['xml'];
11
        $this->filename = $path . $filename;
12
    }
13
}
14