Completed
Pull Request — master (#16)
by Flo
07:29
created

SessionManagerServiceFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A createService() 0 4 1
1
<?php
2
/**
3
 * Class SessionManagerServiceFactory | SessionManagerServiceFactory.php
4
 * @package Faulancer\Service
5
 * @author  Florian Knapp <[email protected]>
6
 */
7
namespace Faulancer\Service\Factory;
8
9
use Faulancer\Service\SessionManagerService;
10
use Faulancer\ServiceLocator\FactoryInterface;
11
use Faulancer\ServiceLocator\ServiceLocatorInterface;
12
13
class SessionManagerServiceFactory implements FactoryInterface
14
{
15
16
    /**
17
     * @param ServiceLocatorInterface $serviceLocator
18
     * @return SessionManagerService
19
     * @codeCoverageIgnore
20
     */
21
    public function createService(ServiceLocatorInterface $serviceLocator)
22
    {
23
        return new SessionManagerService();
24
    }
25
26
}