You are here

interface ExtensionInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/dependency-injection/Extension/ExtensionInterface.php \Symfony\Component\DependencyInjection\Extension\ExtensionInterface
  2. 8 vendor/symfony/css-selector/XPath/Extension/ExtensionInterface.php \Symfony\Component\CssSelector\XPath\Extension\ExtensionInterface
Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/XPath/Extension/ExtensionInterface.php \Symfony\Component\CssSelector\XPath\Extension\ExtensionInterface

XPath expression translator extension interface.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>

Hierarchy

Expanded class hierarchy of ExtensionInterface

All classes that implement ExtensionInterface

See also

https://github.com/SimonSapin/cssselect.

File

vendor/symfony/css-selector/XPath/Extension/ExtensionInterface.php, line 22

Namespace

Symfony\Component\CssSelector\XPath\Extension
View source
interface ExtensionInterface {

  /**
   * Returns node translators.
   *
   * These callables will receive the node as first argument and the translator as second argument.
   *
   * @return callable[]
   */
  public function getNodeTranslators();

  /**
   * Returns combination translators.
   *
   * @return callable[]
   */
  public function getCombinationTranslators();

  /**
   * Returns function translators.
   *
   * @return callable[]
   */
  public function getFunctionTranslators();

  /**
   * Returns pseudo-class translators.
   *
   * @return callable[]
   */
  public function getPseudoClassTranslators();

  /**
   * Returns attribute operation translators.
   *
   * @return callable[]
   */
  public function getAttributeMatchingTranslators();

  /**
   * Returns extension name.
   *
   * @return string
   */
  public function getName();

}

Members

Namesort descending Modifiers Type Description Overrides
ExtensionInterface::getAttributeMatchingTranslators public function Returns attribute operation translators. 1
ExtensionInterface::getCombinationTranslators public function Returns combination translators. 1
ExtensionInterface::getFunctionTranslators public function Returns function translators. 1
ExtensionInterface::getName public function Returns extension name. 6
ExtensionInterface::getNodeTranslators public function Returns node translators. 1
ExtensionInterface::getPseudoClassTranslators public function Returns pseudo-class translators. 1