PHP 인터페이스 Spatie\Crawler\CrawlObserver

파일 보기 프로젝트 열기: spatie/crawler 0 사용 예제들

공개 메소드들

메소드 설명
finishedCrawling ( ) : void Called when the crawl has ended.
hasBeenCrawled ( Url $url, Psr\Http\Message\ResponseInterface | null $response, Url $foundOnUrl = null ) : void Called when the crawler has crawled the given url.
willCrawl ( Url $url ) : void Called when the crawler will crawl the url.

메소드 상세

finishedCrawling() 공개 메소드

Called when the crawl has ended.
public finishedCrawling ( ) : void
리턴 void

hasBeenCrawled() 공개 메소드

Called when the crawler has crawled the given url.
public hasBeenCrawled ( Url $url, Psr\Http\Message\ResponseInterface | null $response, Url $foundOnUrl = null ) : void
$url Url
$response Psr\Http\Message\ResponseInterface | null
$foundOnUrl Url
리턴 void

willCrawl() 공개 메소드

Called when the crawler will crawl the url.
public willCrawl ( Url $url ) : void
$url Url
리턴 void