ValidationDriver
in
A validation driver checks one or more levels (PHP rules, XSD, KoSIT, veraPDF, …).
Table of Contents
Methods
- levels() : array<int, ValidationLevel>
- name() : string
- supports() : bool
- Whether the driver can run for the subject (e.g. XML drivers need generated XML).
- validate() : ValidationResult
Methods
levels()
public
levels() : array<int, ValidationLevel>
Return values
array<int, ValidationLevel>name()
public
name() : string
Return values
stringsupports()
Whether the driver can run for the subject (e.g. XML drivers need generated XML).
public
supports(ValidationSubject $subject) : bool
Parameters
- $subject : ValidationSubject
Return values
boolvalidate()
public
validate(ValidationSubject $subject) : ValidationResult
Parameters
- $subject : ValidationSubject