public Query::__construct(EntityTypeInterface $entity_type, $conjunction, Connection$connection, array $namespaces)
Constructs a query object.
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
string $conjunction:
\Drupal\Core\Database\Connection $connection: The database connection to run the query against.
array $namespaces: List of potential namespaces of the classes belonging to this query.
Overrides QueryBase::__construct
public function __construct(EntityTypeInterface $entity_type, $conjunction, Connection $connection, array $namespaces) { parent::__construct($entity_type, $conjunction, $namespaces); $this->connection = $connection; }
© 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!Query.php/function/Query::__construct/8.1.x