Completed
Push — master ( 7c5f13...846411 )
by John
01:49
created

BasicURLEncodedRequestFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 5

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A BasicRequestFactory::__construct() 0 3 1
1
<?php
2
namespace LunixREST\Request\RequestFactory;
3
4
use LunixREST\Request\BodyParser\BasicBodyParserFactory;
5
use LunixREST\Request\HeaderParser\BasicHeaderParser;
6
use LunixREST\Request\MIMEFileProvider;
7
use LunixREST\Request\URLParser\BasicURLParser;
8
9
class BasicRequestFactory extends GenericRequestFactory {
10
    public function __construct() {
11
        parent::__construct(new BasicURLParser(new MIMEFileProvider()), new BasicBodyParserFactory(), new BasicHeaderParser());
12
    }
13
}
14