FormStep
class FormStep
Properties
| protected Closure | $condition |
Methods
__construct(Closure $step, bool|Closure $condition, string|null $name, bool $ignoreWhenReverting)
No description
mixed
run(array $responses, mixed $previousResponse)
Execute this step.
bool
shouldRun(array $responses)
Whether the step should run based on the given condition.
bool
shouldIgnoreWhenReverting(array $responses)
Whether this step should be skipped over when a subsequent step is reverted.
Details
at line 13
__construct(Closure $step, bool|Closure $condition, string|null $name, bool $ignoreWhenReverting)
No description
at line 29
mixed
run(array $responses, mixed $previousResponse)
Execute this step.
at line 43
protected bool
shouldRun(array $responses)
Whether the step should run based on the given condition.
at line 53
bool
shouldIgnoreWhenReverting(array $responses)
Whether this step should be skipped over when a subsequent step is reverted.