public function outputStatus($code, $message = null)
    {
        $this->addHeader($code)->sendHeaders();

        if (isset($message)) {
            echo $message;
        }

        exit;
    }
public function outputStatus($code, $message = null)
    {
        $this->addHeader($code)->sendHeaders();

        if (isset($message)) {
            echo $message;
        }

        exit;
    }
public function outputStatus ( $ code , $ message = null ) { $ this -> addHeader ( $ code ) -> sendHeaders ( ) ; if ( isset ( $ message ) ) { echo $ message ; } exit ; }
Output an HTTP status and abort script execution
@param int $code
@param null|string $message
Output an HTTP status and abort script execution