ProcessPipeFactory::createService()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @author stev leibelt <[email protected]>
4
 * @since 2015-06-04 
5
 */
6
7
namespace NetBazzlineZfLocatorGenerator\Service;
8
9
use Net\Bazzline\Component\Locator\ProcessPipeFactory as InstanceFactory;
10
use Zend\ServiceManager\FactoryInterface;
11
use Zend\ServiceManager\ServiceLocatorInterface;
12
13
class ProcessPipeFactory implements FactoryInterface
14
{
15
    /**
16
     * Create service
17
     *
18
     * @param ServiceLocatorInterface $serviceLocator
19
     * @return mixed|\Net\Bazzline\Component\ProcessPipe\Pipe
20
     */
21
    public function createService(ServiceLocatorInterface $serviceLocator)
22
    {
23
        $factory = new InstanceFactory();
24
25
        return $factory->create();
26
    }
27
}