Schema::nextPlaceholder

public Schema::nextPlaceholder()

Returns the next placeholder ID for the query.

Return value

The next available placeholder ID as an integer.

Overrides PlaceholderInterface::nextPlaceholder

File

core/lib/Drupal/Core/Database/Schema.php, line 63

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

public function nextPlaceholder() {
  return $this->placeholder++;
}
doc_Drupal
2016-10-29 09:39:59
Comments
Leave a Comment

Please login to continue.