BrokenLinkAnalysisEvent implements StoppableEventInterface

FinalYes

Event that is fired to validate if a link is valid or not.

Table of Contents

Interfaces

StoppableEventInterface

Methods

__construct()  : mixed
getLinkData()  : array<string|int, mixed>
getLinkType()  : string
getReason()  : string
isBrokenLink()  : bool
isPropagationStopped()  : bool
markAsBrokenLink()  : void
markAsCheckedLink()  : void

Methods

__construct()

public __construct(string $linkType, array<string|int, mixed> $linkData) : mixed
Parameters
$linkType : string
$linkData : array<string|int, mixed>

getLinkData()

public getLinkData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getLinkType()

public getLinkType() : string
Return values
string

getReason()

public getReason() : string
Return values
string
public isBrokenLink() : bool
Return values
bool

isPropagationStopped()

public isPropagationStopped() : bool
Return values
bool
public markAsBrokenLink([string $reason = '' ]) : void
Parameters
$reason : string = ''
public markAsCheckedLink() : void

        
On this page

Search results