interface PlaceholderInterface in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php \Drupal\Core\Database\Query\PlaceholderInterface
- 9 core/lib/Drupal/Core/Database/Query/PlaceholderInterface.php \Drupal\Core\Database\Query\PlaceholderInterface
Interface for a query that accepts placeholders.
Hierarchy
- interface \Drupal\Core\Database\Query\PlaceholderInterface
Expanded class hierarchy of PlaceholderInterface
All classes that implement PlaceholderInterface
2 files declare their use of PlaceholderInterface
- ConditionTest.php in core/
tests/ Drupal/ Tests/ Core/ Database/ ConditionTest.php - Schema.php in core/
lib/ Drupal/ Core/ Database/ Schema.php
File
- core/
lib/ Drupal/ Core/ Database/ Query/ PlaceholderInterface.php, line 8
Namespace
Drupal\Core\Database\QueryView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PlaceholderInterface:: |
public | function | Returns the next placeholder ID for the query. | 3 |
PlaceholderInterface:: |
public | function | Returns a unique identifier for this object. | 3 |