PHP Class Resources\Response

Mostra file Open project: panada/panada

Public Properties

Property Type Description
$body
$headers
$statusCode

Public Methods

Method Description
send ( )
sendBody ( )
sendHeader ( )
sendHeaders ( )
setBody ( $body )
setHeader ( $key, $value, $statusCode = 200 )
setStatusCode ( $statusCode )

Method Details

send() public method

public send ( )

sendBody() public method

public sendBody ( )

sendHeader() public static method

public static sendHeader ( )

sendHeaders() public method

public sendHeaders ( )

setBody() public method

public setBody ( $body )

setHeader() public static method

public static setHeader ( $key, $value, $statusCode = 200 )

setStatusCode() public method

public setStatusCode ( $statusCode )

Property Details

$body public_oe static_oe property

public static $body

$headers public_oe static_oe property

public static $headers

$statusCode public_oe static_oe property

public static $statusCode