PHP Interface Tolerance\Operation\Placeholder\PlaceholderResponseResolver

Datei anzeigen Open project: sroze/tolerance Interface Usage Examples

Public Methods

Method Description
createResponse ( Tolerance\Operation\Operation $operation, Exception | Throwable $throwable ) : mixed Create the response for the given operation and exception.

Method Details

createResponse() public method

Create the response for the given operation and exception.
public createResponse ( Tolerance\Operation\Operation $operation, Exception | Throwable $throwable ) : mixed
$operation Tolerance\Operation\Operation
$throwable Exception | Throwable
return mixed