/** @var EntityCollection<Entity> $collectionClass */
$collectionClass =
$definition->
getCollectionClass();
$fields =
$this->criteriaFieldsResolver->
resolve($criteria,
$definition);
return $this->
_read( $criteria,
$definition,
$context,
new $collectionClass(),
$definition->
getFields()->
getBasicFields(),
true,
$fields );
} protected function getParser(): SqlQueryParser
{ return $this->parser;
} /**
* @param EntityCollection<Entity> $collection
* @param array<string, mixed> $partial
*
* @return EntityCollection<Entity>
*/