W3cubDocs

/Symfony 4.1

TokenizerEscaping

class TokenizerEscaping

CSS selector tokenizer escaping applier.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Methods

__construct(TokenizerPatterns $patterns)
string escapeUnicode(string $value)
string escapeUnicodeAndNewLine(string $value)

Details

__construct(TokenizerPatterns $patterns)

Parameters

TokenizerPatterns $patterns

string escapeUnicode(string $value)

Parameters

string $value

Return Value

string

string escapeUnicodeAndNewLine(string $value)

Parameters

string $value

Return Value

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerEscaping.html