\DevOwl\FastHtmlTag\finderAbstractFinder

A finder describes a schema parsing a HTML string, and run a registered callback when a match got found.

Summary

Methods
Properties
Constants
replace()
addCallback()
setFastHtmlTag()
getCallbacks()
getFastHtmlTag()
No public properties found
No constants found
applyCallbacks()
No protected properties found
N/A
No private methods found
$fastHtmlTag
$callbacks
N/A

Properties

$callbacks

$callbacks :array<mixed,callable>

Callbacks.

Type

array<mixed,callable>

Methods

replace()

replace(string  $html)

Find HTML tags for this finder and replace it with our modifiers.

Parameters

string $html

addCallback()

addCallback(callable  $callback)

Add a callable. The first parameter is an instance of `AbstractMatch`.

Parameters

callable $callback

getCallbacks()

getCallbacks()

Getter.

getFastHtmlTag()

getFastHtmlTag()

Getter.