public QueryFactory::__construct(Connection$connection)
Constructs a QueryFactory object.
\Drupal\Core\Database\Connection $connection: The database connection used by the entity query.
public function __construct(Connection $connection) {
$this->connection = $connection;
$this->namespaces = QueryBase::getNamespaces($this);
}
© 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!Entity!Query!Sql!QueryFactory.php/function/QueryFactory::__construct/8.1.x