ConformanceViolation
in package
Read onlyYes
FinalYes
A single conformance violation detected during validation.
Table of Contents
Properties
- $clause : string
- ISO clause reference (e.g. "6.3.4").
- $message : string
- Human-readable description of the violation.
- $objectPath : string|null
- Path to the offending object (e.g. "Page[0].Resources.Font[F1]").
- $severity : ViolationSeverity
- Severity level.
Methods
- __construct() : mixed
Properties
$clause
ISO clause reference (e.g. "6.3.4").
public
string
$clause
$message
Human-readable description of the violation.
public
string
$message
$objectPath
Path to the offending object (e.g. "Page[0].Resources.Font[F1]").
public
string|null
$objectPath
= null
$severity
Severity level.
public
ViolationSeverity
$severity
= ViolationSeverity::Error
Methods
__construct()
public
__construct(string $clause, string $message[, ViolationSeverity $severity = ViolationSeverity::Error ][, string|null $objectPath = null ]) : mixed
Parameters
- $clause : string
- $message : string
- $severity : ViolationSeverity = ViolationSeverity::Error
- $objectPath : string|null = null