PlaceholderInterface.php 419 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Drupal\Core\Database\Query;
  3. /**
  4. * Interface for a query that accepts placeholders.
  5. */
  6. interface PlaceholderInterface {
  7. /**
  8. * Returns a unique identifier for this object.
  9. */
  10. public function uniqueIdentifier();
  11. /**
  12. * Returns the next placeholder ID for the query.
  13. *
  14. * @return
  15. * The next available placeholder ID as an integer.
  16. */
  17. public function nextPlaceholder();
  18. }