You are here

public function StatementEmpty::fetchObject in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/StatementEmpty.php \Drupal\Core\Database\StatementEmpty::fetchObject()

Fetches the next row and returns it as an object.

The object will be of the class specified by StatementInterface::setFetchMode() or stdClass if not specified.

Overrides StatementInterface::fetchObject

File

core/lib/Drupal/Core/Database/StatementEmpty.php, line 71

Class

StatementEmpty
Empty implementation of a database statement.

Namespace

Drupal\Core\Database

Code

public function fetchObject() {
  return NULL;
}