Template Sloth
|
Public Member Functions | |
__construct (Sloth $sloth, int $status=200, array $headers=[]) | |
getSloth () | |
setCallback (callable $callback) | |
Static Public Member Functions | |
static | create ($callback=null, int $status=200, array $headers=[]) |
Protected Attributes | |
$sloth | |
__construct | ( | Sloth | $sloth, |
int | $status = 200 , |
||
array | $headers = [] |
||
) |
getSloth | ( | ) |
Implements SlothBasedResponse.
|
static |
setCallback | ( | callable | $callback | ) |
|
protected |