Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser
ParserInterface{}
CSS selector parser interface.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
No Hooks.
Usage
$ParserInterface = new ParserInterface(); // use class methods
Methods
- public parse(string $source)
ParserInterface{} ParserInterface{} code WC 10.4.3
interface ParserInterface
{
/**
* Parses given selector source into an array of tokens.
*
* @return SelectorNode[]
*/
public function parse(string $source): array;
}