WordPress at a glance
class is not described

Symfony\Component\CssSelector\Node

NodeInterface{} WC 1.0

Interface for nodes.

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

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

Methods

  1. __toString()
  2. getNodeName()
  3. getSpecificity()

Code of NodeInterface{} WC 5.3.0

<?php
interface NodeInterface
{
    /**
     * Returns node's name.
     *
     * @return string
     */
    public function getNodeName();

    /**
     * Returns node's specificity.
     *
     * @return Specificity
     */
    public function getSpecificity();

    /**
     * Returns node's string representation.
     *
     * @return string
     */
    public function __toString();
}