You are here

JmesRuntimeFactoryInterface.php in Feeds extensible parsers 8

Namespace

Drupal\feeds_ex

File

src/JmesRuntimeFactoryInterface.php
View source
<?php

namespace Drupal\feeds_ex;


/**
 * Defines a factory interface for generating JMESPath runtime objects.
 */
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);

}

Interfaces

Namesort descending Description
JmesRuntimeFactoryInterface Defines a factory interface for generating JMESPath runtime objects.