Statement::__construct

protected Statement::__construct(Connection $dbh)

File

core/lib/Drupal/Core/Database/Statement.php, line 34

Class

Statement
Default implementation of StatementInterface.

Namespace

Drupal\Core\Database

Code

protected function __construct(Connection $dbh) {
  $this->dbh = $dbh;
  $this->setFetchMode(\PDO::FETCH_OBJ);
}
doc_Drupal
2016-10-29 09:44:03
Comments
Leave a Comment

Please login to continue.