Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser

ParserInterface::parsepublicWC 1.0

Parses given selector source into an array of tokens.

Method of the class: ParserInterface{}

No Hooks.

Returns

SelectorNode[].

Usage

$ParserInterface = new ParserInterface();
$ParserInterface->parse( $source ): array;
$source(string) (required)
.

ParserInterface::parse() code WC 10.5.0

public function parse(string $source): array;