return $this->
buildEvents($mapping,
$generator,
$context);
} /**
* @param array<mixed> $entities
*/
public function createPartial(array
$entities, Context
$context): EntityLoadedContainerEvent
{ $mapping =
$this->
recursion($entities,
[]);
$generator =
fn (EntityDefinition
$definition, array
$entities) =>
new PartialEntityLoadedEvent($definition,
$entities,
$context);
return $this->
buildEvents($mapping,
$generator,
$context);
} /**
* @param array<mixed> $entities
*
* @return EntityLoadedContainerEvent[]
*/
public function createForSalesChannel(array
$entities, SalesChannelContext
$context): array
{