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

BasicRequestFactory::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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