interface PlaceholderInterface

Interface for a query that accepts placeholders.

Hierarchy

Expanded class hierarchy of PlaceholderInterface

All classes that implement PlaceholderInterface

1 file declares its use of PlaceholderInterface
Schema.php in drupal/core/lib/Drupal/Core/Database/Schema.php
Definition of Drupal\Core\Database\Schema

File

drupal/core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php, line 13
Definition of Drupal\Core\Database\Query\PlaceholderInterface

Namespace

Drupal\Core\Database\Query
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
PlaceholderInterface::nextPlaceholder public function Returns the next placeholder ID for the query. 3
PlaceholderInterface::uniqueIdentifier public function Returns a unique identifier for this object. 3