Skip to content

StatusCodeInterface

  • Full name: \Zemit\Mvc\Controller\Traits\Interfaces\StatusCodeInterface

Methods

setStatusCode

public setStatusCode(int $code = 200, ?string $message = null): \Phalcon\Http\ResponseInterface

Parameters:

Parameter Type Description
$code int
$message ?string