Emogrifier::handleXpathQueryWarnings( int $type, string $message, string $file, int $line, array $context )

Handles invalid xPath expression warnings, generated during the process() method, during querying \DOMDocument and trigger an \InvalidArgumentException with an invalid selector or \RuntimeException, depending on the source of the warning.


Description Description


Parameters Parameters

$type

(Required)

$message

(Required)

$file

(Required)

$line

(Required)

$context

(Required)


Top ↑

Return Return

(bool) always false


Top ↑

Source Source

File: vendor/pelago/emogrifier/src/Emogrifier.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.