| 1 | <?php |
||
| 11 | class Observer extends CrawlObserver |
||
| 12 | { |
||
| 13 | /** @var \Spatie\Export\Destination */ |
||
| 14 | protected $destination; |
||
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | protected $entry; |
||
| 18 | |||
| 19 | public function __construct(Destination $destination, string $entry) |
||
| 25 | |||
| 26 | public function crawled(UriInterface $url, ResponseInterface $response, ?UriInterface $foundOnUrl = null) |
||
| 36 | |||
| 37 | public function crawlFailed(UriInterface $url, RequestException $requestException, ?UriInterface $foundOnUrl = null) |
||
| 41 | } |
||
| 42 |