You are here

public function StatementEmpty::fetchObject in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 79
Contains \Drupal\Core\Database\StatementEmpty.

Class

StatementEmpty
Empty implementation of a database statement.

Namespace

Drupal\Core\Database

Code

public function fetchObject() {
  return NULL;
}