The `getRootEntities` method in PHP Doctrine ORM's QueryBuilder returns an array of all the root entities involved in the query. These root entities are the main entities on which the query is built and form the basis of the resulting query expression. The method allows easy access to the primary entities involved in a query operation, aiding in understanding and further manipulation of the query structure.
PHP Doctrine\ORM QueryBuilder::getRootEntities - 28 examples found. These are the top rated real world PHP examples of Doctrine\ORM\QueryBuilder::getRootEntities extracted from open source projects. You can rate examples to help us improve the quality of examples.