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

Factory::createRouterChain()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
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