WordPress at a glance
class is not described

Symfony\Component\CssSelector\Parser

ParserInterface{} WC 1.0

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.

Return

null. Nothing.

Usage

$ParserInterface = new ParserInterface();
// use class methods

Methods

  1. parse($source)

Code of ParserInterface{} WC 5.3.0

<?php
interface ParserInterface
{
    /**
     * Parses given selector source into an array of tokens.
     *
     * @param string $source
     *
     * @return SelectorNode[]
     */
    public function parse($source);
}