| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | 5 | public function __construct(UriInterface $baseUri, array $config = []) |
|
| 33 | { |
||
| 34 | 5 | $this->baseUri = $baseUri; |
|
| 35 | |||
| 36 | 5 | $resolver = new OptionsResolver(); |
|
| 37 | 5 | $this->configureOptions($resolver); |
|
| 38 | 5 | $options = $resolver->resolve($config); |
|
| 39 | |||
| 40 | 5 | $this->replace = $options['replace']; |
|
| 41 | 5 | } |
|
| 42 | |||
| 69 |