1 | <?php |
||
13 | class Observer extends CrawlObserver |
||
14 | { |
||
15 | use NormalizedPath; |
||
16 | |||
17 | /** @var string */ |
||
18 | protected $entry; |
||
19 | |||
20 | /** @var \Spatie\Export\Destination */ |
||
21 | protected $destination; |
||
22 | |||
23 | public function __construct(string $entry, Destination $destination) |
||
28 | |||
29 | public function crawled(UriInterface $url, ResponseInterface $response, ?UriInterface $foundOnUrl = null) |
||
40 | |||
41 | public function crawlFailed(UriInterface $url, RequestException $requestException, ?UriInterface $foundOnUrl = null) |
||
45 | } |
||
46 |