Symfony\Component\CssSelector\Parser\Shortcut\EmptyStringParser
CSS selector class parser shortcut.
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 cssselector library,
which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
- Author: Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
Synopsis
Hierarchy
Methods
public
- parse() — {@inheritdoc}