public function StatementEmpty::fetchAll in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/StatementEmpty.php \Drupal\Core\Database\StatementEmpty::fetchAll()
Returns an array containing all of the result set rows.
Parameters
$mode: One of the PDO::FETCH_* constants.
$column_index: If $mode is PDO::FETCH_COLUMN, the index of the column to fetch.
$constructor_arguments: If $mode is PDO::FETCH_CLASS, the arguments to pass to the constructor.
Return value
An array of results.
Overrides StatementInterface::fetchAll
File
- core/
lib/ Drupal/ Core/ Database/ StatementEmpty.php, line 85
Class
- StatementEmpty
- Empty implementation of a database statement.
Namespace
Drupal\Core\DatabaseCode
public function fetchAll($mode = NULL, $column_index = NULL, $constructor_arguments = NULL) {
return [];
}