StatementEmpty::fetchObject

public 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 74

Class

StatementEmpty
Empty implementation of a database statement.

Namespace

Drupal\Core\Database

Code

public function fetchObject() {
  return NULL;
}
doc_Drupal
2016-10-29 09:44:05
Comments
Leave a Comment

Please login to continue.