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

1
2
3
public function fetchObject() {
  return NULL;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.