class SerializedClosureResult

internal  
 

Decode serialized-closure responses produced by the framework subprocess command.

The subprocess stream may also contain output from the application task, so the response envelope is validated before use. Task results may contain objects, so successful responses require unrestricted unserialization. Callers must never pass external input to this decoder.

Methods

static mixed
decode(string $output)

Return the unserialized result or throw the reconstructed remote exception.

Details

at line 28
static mixed decode(string $output)

Return the unserialized result or throw the reconstructed remote exception.

Parameters

string $output

Return Value

mixed

Exceptions

Throwable