SubmissionResult implements JsonSerializable

Read onlyYes
FinalYes

DTO for the result of submitting wizard data, including success state, errors, and optional finisher.

Used in WizardProviderInterface::handleSubmit() when returning the outcome of a wizard submission.

Internal

Table of Contents

Interfaces

JsonSerializable

Methods

createErrorResult()  : self
createSuccessResult()  : self
jsonSerialize()  : mixed

Methods

createErrorResult()

public static createErrorResult(array<string|int, string> $errors) : self
Parameters
$errors : array<string|int, string>
Return values
self

createSuccessResult()

public static createSuccessResult(Finisher $finisher) : self
Parameters
$finisher : Finisher
Return values
self

jsonSerialize()

public jsonSerialize() : mixed

        
On this page

Search results