public static function analyzeCases(): iterable
{ $tag1 =
new TagEntity();
$tag1->
setId('tag-1'
);
$tag1->
setName('Tag Yellow'
);
$tag2 =
new TagEntity();
$tag2->
setId('tag-2'
);
$tag2->
setName('Tag Pink'
);
$tags =
new TagCollection([$tag1,
$tag2]);
yield 'analyze with tokenize' =>
[ [ 'maxPurchase' => 20,
'manufacturerNumber' => 'MANU_001',
'description' => self::
getLongTextDescription(),
'tags' =>
$tags,
'translated' =>
[ 'name' => 'Awesome product',
],
],
[