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.
Хуков нет.
Использование
$ParserInterface = new ParserInterface(); // use class methods
Методы
- public parse(string $source)
Код ParserInterface{} ParserInterface{} WC 11.0.1
interface ParserInterface
{
/**
* Parses given selector source into an array of tokens.
*
* @return SelectorNode[]
*/
public function parse(string $source): array;
}