public function prepareCriteria(Criteria
$criteria, SalesChannelEntity
$salesChannel): void
{ // no-op, dummy implementation
} /**
* @param ProductEntity $entity
*/
public function getMapping(Entity
$entity, ?SalesChannelEntity
$salesChannel): SeoUrlMapping
{ return new SeoUrlMapping( $entity,
['productId' =>
$entity->
getId()],
['product' =>
$entity->
jsonSerialize()] );
}}