You are here

PlaceholderInterface.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php

File

core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\Database\Query\PlaceholderInterface.
 */
namespace Drupal\Core\Database\Query;


/**
 * Interface for a query that accepts placeholders.
 */
interface PlaceholderInterface {

  /**
   * Returns a unique identifier for this object.
   */
  public function uniqueIdentifier();

  /**
   * Returns the next placeholder ID for the query.
   *
   * @return
   *   The next available placeholder ID as an integer.
   */
  public function nextPlaceholder();

}

Interfaces

Namesort descending Description
PlaceholderInterface Interface for a query that accepts placeholders.