interface SpacingRule

Restricts one boundary without choosing a candidate or modifying output.

Methods§

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

Returns a boundary constraint, or null when the rule does not apply.

Parameters

Called from 1

Test cases 17§

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 16

Relations§

Implemented by 6
Method calls 1
Type declarations 5