| Methods |
public
|
__construct(
bool $dry,
array<class-string<SyncWorkerInterface>, Outcome> $outcomes,
?Throwable $failure = null,
class-string<SyncWorkerInterface>|null $failedWorker = null,
)
Parameters
| $outcomes |
by worker, in the order they ran
|
| $failedWorker |
the worker that threw, if one did
|
|
#
|
public
|
ok(): bool
True when every worker committed and none reported a blocker.
True when every worker committed and none reported a blocker.
|
#
|
public
|
blockers(): list<array{worker: class-string<SyncWorkerInterface>, message: Message}>
Every blocker the workers reported — an error message, its target the object that blocks.
Every blocker the workers reported — an error message, its target the object that blocks.
|
#
|
public
|
refusals(): list<class-string<SyncWorkerInterface>>
The workers that refused whole — an error outcome without a single error message, so no blocker names an object:
a…
The workers that refused whole — an error outcome without a single error message, so no blocker names an object:
a missing file, an unset password. They stop the sync as a blocker does ({@see ok()}), and are counted apart.
|
#
|
public
|
refused(): bool
True when this is the readiness check `ui5:sync` ran first and it found a blocker: nothing was written.
True when this is the readiness check ui5:sync ran first and it found a blocker: nothing was written.
|
#
|