ClassParser

class ClassParser implements ParserInterface

CSS selector class parser shortcut.

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

Methods

SelectorNode[] parse(string $source)

Parses given selector source into an array of tokens.

Details

SelectorNode[] parse(string $source)

Parses given selector source into an array of tokens.

Parameters

string $source

Return Value

SelectorNode[]

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/CssSelector/Parser/Shortcut/ClassParser.html