Zum Inhalt springen

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#

MethodDescription
->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.

ParameterTypeDescription
$syntaxSyntax|nullthe syntax that will be written, null if not known
Returns
list<string>

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.