EmptyStringParser
CSS selector class parser shortcut.
Description Description
This shortcut ensure compatibility with previous version.
- The parser fails to parse an empty string.
- In the previous version, an empty string matches each tags.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
Source Source
File: vendor/symfony/css-selector/Parser/Shortcut/EmptyStringParser.php
Methods Methods
- parse — {@inheritdoc}