mini\Controller\AbstractController::empty() Method

protected

Signature

protected function empty(int $status = 204, array $headers = array (
)): Psr\Http\Message\ResponseInterface

Parameters

Name Type Default Description
$status int 204 Documentation missing
$headers array array ( ) Documentation missing

Returns

Psr\Http\Message\ResponseInterface

Documentation

Empty response (for 204 No Content, etc.)

Source

src/Controller/AbstractController.php:201-210