You are here

public static function SyntaxErrorException::stringAsFunctionArgument in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/Exception/SyntaxErrorException.php \Symfony\Component\CssSelector\Exception\SyntaxErrorException::stringAsFunctionArgument()

Return value

SyntaxErrorException

1 call to SyntaxErrorException::stringAsFunctionArgument()
Parser::parseSeries in vendor/symfony/css-selector/Parser/Parser.php
Parses the arguments for ":nth-child()" and friends.

File

vendor/symfony/css-selector/Exception/SyntaxErrorException.php, line 69

Class

SyntaxErrorException
ParseException is thrown when a CSS selector syntax is not valid.

Namespace

Symfony\Component\CssSelector\Exception

Code

public static function stringAsFunctionArgument() {
  return new self('String not allowed as function argument.');
}