Test Setup Failed
Push — master ( 871edc...5a5b1b )
by Jonathan
02:39
created

ReportingCloudFactory::__invoke()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 3
1
<?php
2
3
namespace TxTextControl\ReportingCloud\View\Helper;
4
5
use Interop\Container\ContainerInterface;
6
use Zend\ServiceManager\Factory\FactoryInterface;
7
8
class ReportingCloudFactory implements FactoryInterface
9
{
10
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
11
    {
12
        $reportingCloud = $container->get('ReportingCloud');
13
14
        return new ReportingCloud($reportingCloud);
15
    }
16
}
17