Completed
Push — master ( ae2b3a...9c69f7 )
by Sebastian
03:09
created

Factory   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 18
c 0
b 0
f 0
wmc 2
lcom 0
cbo 2
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createRouterChain() 0 4 1
A createActionMapper() 0 4 1
1
<?php
2
namespace Kartenmacherei\RestFramework;
3
4
use Kartenmacherei\RestFramework\Router\RouterChain;
5
6
class Factory
7
{
8
    /**
9
     * @return RouterChain
10
     */
11
    public function createRouterChain(): RouterChain
12
    {
13
        return new RouterChain();
14
    }
15
16
    /**
17
     * @return ActionMapper
18
     */
19
    public function createActionMapper(): ActionMapper
20
    {
21
        return new ActionMapper();
22
    }
23
}
24