You are here

public static function SyntaxErrorException::unclosedString in Zircon Profile 8

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

Parameters

int $position:

Return value

SyntaxErrorException

1 call to SyntaxErrorException::unclosedString()
StringHandler::handle in vendor/symfony/css-selector/Parser/Handler/StringHandler.php

File

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

Class

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

Namespace

Symfony\Component\CssSelector\Exception

Code

public static function unclosedString($position) {
  return new self(sprintf('Unclosed/invalid string at %s.', $position));
}