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)
Return Return
(bool) always false
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier.php