PHP 클래스 Spatie\LinkChecker\Reporters\BaseReporter

상속: implements Spatie\Crawler\CrawlObserver
파일 보기 프로젝트 열기: spatie/laravel-link-checker 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$urlsGroupedByStatusCode array

공개 메소드들

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

보호된 메소드들

메소드 설명
crawledBadUrls ( ) : boolean Determine if the crawler saw some bad urls.
isSuccessOrRedirect ( integer $statusCode ) : boolean Determine if the statuscode concerns a successful or redirect response.

메소드 상세

crawledBadUrls() 보호된 메소드

Determine if the crawler saw some bad urls.
protected crawledBadUrls ( ) : boolean
리턴 boolean

hasBeenCrawled() 공개 메소드

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

hasBeenCrawled() 공개 메소드

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

isSuccessOrRedirect() 보호된 메소드

Determine if the statuscode concerns a successful or redirect response.
protected isSuccessOrRedirect ( integer $statusCode ) : boolean
$statusCode integer
리턴 boolean

willCrawl() 공개 메소드

Called when the crawler will crawl the url.
public willCrawl ( Url $url )
$url Spatie\Crawler\Url

프로퍼티 상세

$urlsGroupedByStatusCode 보호되어 있는 프로퍼티

protected array $urlsGroupedByStatusCode
리턴 array