class HashParser implements ParserInterface
CSS selector hash parser shortcut.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
array | parse(string $source) Parses given selector source into an array of tokens. |
Parses given selector source into an array of tokens.
string | $source |
array |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/CssSelector/Parser/Shortcut/HashParser.html