/**
* Return the default loader object.
*
* @param QueryBuilder $queryBuilder
*/
public function getLoader(ObjectManager
$manager, object
$queryBuilder, string
$class): ORMQueryBuilderLoader
{ if (!
$queryBuilder instanceof QueryBuilder
) { throw new \
TypeError(sprintf('Expected an instance of "%s", but got "%s".', QueryBuilder::
class,
get_debug_type($queryBuilder)));
} return new ORMQueryBuilderLoader($queryBuilder);
} public function getBlockPrefix(): string
{ return 'entity';
} /**
* We consider two query builders with an equal SQL string and
* equal parameters to be equal.
*
* @param QueryBuilder $queryBuilder
*
* @internal This method is public to be usable as callback. It should not
* be used in user code.
*/