You are here

interface JmesRuntimeFactoryInterface in Feeds extensible parsers 8

Defines a factory interface for generating JMESPath runtime objects.

Hierarchy

Expanded class hierarchy of JmesRuntimeFactoryInterface

All classes that implement JmesRuntimeFactoryInterface

1 file declares its use of JmesRuntimeFactoryInterface
JmesPathParser.php in src/Feeds/Parser/JmesPathParser.php

File

src/JmesRuntimeFactoryInterface.php, line 8

Namespace

Drupal\feeds_ex
View source
interface JmesRuntimeFactoryInterface {

  /**
   * Represents \JmesPath\AstRuntime.
   *
   * @var string
   */
  const AST = 'ast';

  /**
   * Represents \JmesPath\CompilerRuntime.
   *
   * @var string
   */
  const COMPILER = 'compiler';

  /**
   * Creates a runtime object.
   *
   * @param string $type
   *   (optional) The type of Runtime to create.
   */
  public function createRuntime($type = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
JmesRuntimeFactoryInterface::AST constant Represents \JmesPath\AstRuntime.
JmesRuntimeFactoryInterface::COMPILER constant Represents \JmesPath\CompilerRuntime.
JmesRuntimeFactoryInterface::createRuntime public function Creates a runtime object. 1