\Drupal\strata\Health RepairReport

What one repair pass did.

Summary

Methods
Properties
Constants
__construct
summary
considered
repaired
failed
cleared
held
ran
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Properties

$considered

$considered : int

Type

int

$repaired

$repaired : int

Type

int

$failed

$failed : int

Type

int

$cleared

$cleared : int

Type

int

$held

$held : int

Type

int

$ran

$ran : array

Type

array<string|int, mixed>

Methods

__construct()

__construct(int  $considered = 0, int  $repaired = 0, int  $failed = 0, int  $cleared = 0, int  $held = 0, list  $ran = []) : mixed

Constructs the report.

Parameters

int $considered

Distinct finding codes the pass looked at.

int $repaired

Codes whose pass ran and returned.

int $failed

Codes whose pass raised, and which have therefore climbed a rung.

int $cleared

Open findings resolved before the passes ran.

int $held

Codes left alone because their rung needs a person, or the breaker is open on them.

list $ran

One line per pass that executed, in the order they ran.

Returns

mixed —

summary()

summary() : string

One line naming what happened, for a log, a Drush run or a form message.

Returns

string —

The summary.