A utility trait dealing with collecting assertion results from identity protocols.
This trait provides the setResult() method, which updates the assertion result only if it is worse than the existing stored assertion result (if any).
The final assertion result can be obtained from the getResult() method.
| Methods | ||
|---|---|---|
public
|
setResult(int $result): void
|
# |
public
|
getResult(): int
|
# |
public
|
hasResult(): bool
|
# |
| Properties | |||
|---|---|---|---|
protected
|
int
|
$result = null
|
# |