protected function Statement::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/Statement.php \Drupal\Core\Database\Statement::__construct()
File
- core/
lib/ Drupal/ Core/ Database/ Statement.php, line 34
Class
- Statement
- Default implementation of StatementInterface.
Namespace
Drupal\Core\DatabaseCode
protected function __construct(Connection $dbh) {
$this->dbh = $dbh;
$this
->setFetchMode(\PDO::FETCH_OBJ);
}