public function 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\DatabaseCode
public function fetchObject() { return NULL; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!StatementEmpty.php/function/StatementEmpty::fetchObject/8.1.x