function SyntaxErrorException::pseudoElementFound
2 calls to SyntaxErrorException::pseudoElementFound()
- Parser::parserSelectorNode in vendor/
symfony/ css-selector/ Parser/ Parser.php - Parser::parseSimpleSelector in vendor/
symfony/ css-selector/ Parser/ Parser.php - Parses next simple node (hash, class, pseudo, negation).
File
-
vendor/
symfony/ css-selector/ Exception/ SyntaxErrorException.php, line 31
Class
- SyntaxErrorException
- ParseException is thrown when a CSS selector syntax is not valid.
Namespace
Symfony\Component\CssSelector\ExceptionCode
public static function pseudoElementFound(string $pseudoElement, string $unexpectedLocation) : self {
return new self(\sprintf('Unexpected pseudo-element "::%s" found %s.', $pseudoElement, $unexpectedLocation));
}