Arikaim CMS

ResponseEmiter
in package

Error handler

Table of Contents

Methods

emit()  : void
Emit response
emitHeaders()  : void
Emit headers
isEmpty()  : bool
Check if respose body is empty

Methods

emit()

Emit response

public static emit(ResponseInterface $response) : void
Parameters
$response : ResponseInterface

emitHeaders()

Emit headers

public static emitHeaders(ResponseInterface $response) : void
Parameters
$response : ResponseInterface

isEmpty()

Check if respose body is empty

public static isEmpty(ResponseInterface $response, object $body) : bool
Parameters
$response : ResponseInterface
$body : object
Return values
bool

        
On this page

Search results