Skip to content
docsv0.1.1

PhaseResult

The outcome of executing a single bootstrap phase: whether it succeeded, and the error message if it failed.

PhaseResult::__construct()

public function __construct(string $name, bool $ok, ?string $error = null):

Parameters

Parameters of __construct()
NameTypeDescription
$namestring
$okbool
$error?string

PhaseResult::toArray()

public function toArray(): array

La fase como dato: su nombre, si pasó y su error.