Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | 102 | public function __construct(UriInterface $uri) |
|
23 | { |
||
24 | 102 | $this->fragment = $uri->fragment(); |
|
25 | |||
26 | 102 | $this->host = $uri->host(); |
|
27 | |||
28 | 102 | $this->path = $uri->path(); |
|
29 | |||
30 | 102 | $this->port = $uri->port(); |
|
31 | |||
32 | 102 | $this->query = $uri->query(); |
|
33 | |||
34 | 102 | $this->scheme = $uri->scheme(); |
|
35 | |||
36 | 102 | $this->uri = $uri->__toString(); |
|
37 | |||
38 | 102 | $this->user = $uri->user(); |
|
39 | 102 | } |
|
41 |