Korin API

ValidationReport
in package
implements Countable, IteratorAggregate, JsonSerializable

Read onlyYes
FinalYes

Diagnostics of one validation, in document order.

Tags
implements

Table of Contents

Interfaces

Countable
IteratorAggregate
JsonSerializable

Methods

__construct()  : mixed
count()  : int
diagnostics()  : array<int, Diagnostic>
errors()  : array<int, Diagnostic>
getIterator()  : ArrayIterator<int, Diagnostic>
isValid()  : bool
True when there are no errors; warnings and infos do not make a document invalid.
jsonSerialize()  : array<int, Diagnostic>
warnings()  : array<int, Diagnostic>

Methods

isValid()

True when there are no errors; warnings and infos do not make a document invalid.

public isValid() : bool
Return values
bool
On this page

Search results