Skip to content
docsv0.1.0

BoundaryReport

The full run of a {@see BoundaryValidator}: one {@see BoundaryRuleResult} per rule checked.

BoundaryReport::__construct()

public function __construct(array $results):

Parameters

Parameters of __construct()
NameTypeDescription
$resultslist<BoundaryRuleResult>

BoundaryReport::ok()

public function ok(): bool

True when every rule in {@see self::$results} passed.

BoundaryReport::totalViolations()

public function totalViolations(): int

Sum of violations across every rule in {@see self::$results}.