Skip to content

Commit 4c1451f

Browse files
committed
WordDelimiter filter
1 parent 5591b69 commit 4c1451f

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/Mapping/Filter/WordDelimiter.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,21 @@ public function getType(): string
1313
return 'word_delimiter';
1414
}
1515

16+
17+
public function key(): string
18+
{
19+
return 'customWordDelimiter';
20+
}
21+
22+
23+
public function toArray(): array
24+
{
25+
return [
26+
$this->key() => [
27+
'type' => $this->getType(),
28+
'catenate_all' => TRUE,
29+
],
30+
];
31+
}
32+
1633
}

0 commit comments

Comments
 (0)