final class KeywordPhraseSpacingRule
    implements SpacingRule

Preserves word boundaries inside explicitly declared compound keyword candidates.

Methods§

public function apply(LexemeBoundary $boundary, LexemeInput $input): ?SpacingConstraint

Separates elements belonging to the same compound occurrence.

Parameters

Test cases 1
Calls 2

Test cases 15§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 14

Relations§

Instantiated in 1