API reference / Quittio \ Core \ Profiles \ Capabilities
ReplacesRules
interface in quittio/core
Quittio\Core\Profiles\Capabilities\ReplacesRules · Source
Profiles that replace built-in rules with own rules under other codes, as the official validator configuration does, e.g. the XRechnung extension: BR-CO-16 by BR-DEX-09. The PHP rules driver does not run the replaced rules for this profile, so a violation is reported once.
Methods#
| Method | Description |
|---|---|
->replacedRules() | Codes of the built-in, profile and country pack rules that are not run. |
replacedRules()#
public function replacedRules(Syntax|null $syntax): list<string>Codes of the built-in, profile and country pack rules that are not run.
| Parameter | Type | Description |
|---|---|---|
$syntax | Syntax|null | the syntax that will be written, null if not known |
- Returns
list<string>