| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class HtmlResponse extends Response |
||
| 13 | { |
||
| 14 | public function crawler(): Crawler |
||
| 15 | { |
||
| 16 | $crawler = new Crawler(); |
||
| 17 | $crawler->addHtmlContent($this->body()); |
||
| 18 | |||
| 19 | return $crawler; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @internal |
||
| 24 | */ |
||
| 25 | final public function dump(?string $selector = null): void |
||
| 41 | }); |
||
| 42 | } |
||
| 44 |