Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
46 | 1 | public static function createFromResolver( |
|
47 | Locator $locator, |
||
48 | Resolver $resolver, |
||
49 | LoopInterface $loop, |
||
50 | array $options = [] |
||
51 | ): Client { |
||
52 | 1 | return self::createFromBuzz( |
|
53 | $locator, |
||
54 | $loop, |
||
55 | 1 | (new Browser($loop, Sender::createFromLoopDns($loop, $resolver)))->withOptions([ |
|
56 | 1 | 'streaming' => true, |
|
57 | ]), |
||
58 | $options |
||
59 | ); |
||
60 | } |
||
61 | |||
83 |