class DiagnosticFixOutcome implements Arrayable, JsonSerializable

Methods

__construct(Diagnostic $diagnostic, FixResult $result)

Create a new diagnostic fix outcome instance.

source()

Get the diagnostic's source metadata.

array
toArray()

Get the array representation of the fix outcome.

array
jsonSerialize()

Get the JSON representation of the fix outcome.

Details

at line 20
__construct(Diagnostic $diagnostic, FixResult $result)

Create a new diagnostic fix outcome instance.

Parameters

Diagnostic $diagnostic
FixResult $result

at line 29
DiagnosticSource source()

Get the diagnostic's source metadata.

Return Value

DiagnosticSource

at line 39
array toArray()

Get the array representation of the fix outcome.

Return Value

array

at line 65
array jsonSerialize()

Get the JSON representation of the fix outcome.

Return Value

array