mini\Controller\AbstractController::text() Method

protected

Signature

protected function text(string $body, int $status = 200, array $headers = array (
)): Psr\Http\Message\ResponseInterface

Parameters

Name Type Default Description
$body string required Documentation missing
$status int 200 Documentation missing
$headers array array ( ) Documentation missing

Returns

Psr\Http\Message\ResponseInterface

Documentation

Plain text response

Source

src/Controller/AbstractController.php:183-192