src/ResponseTrait.php
public function setStatusMessage($message)
    {
        $message = (string) trim($message);

        if ($message === '') {
            $this->statusMessage = $this->getStatusMessage();
        } else {
            $this->statusMessage = $message;
        }

        return $this;
    }
public function setStatusMessage($message)
    {
        $message = (string) trim($message);

        if ($message === '') {
            $this->statusMessage = $this->getStatusMessage();
        } else {
            $this->statusMessage = $message;
        }

        return $this;
    }
public function setStatusMessage ( $ message ) { $ message = ( string ) trim ( $ message ) ; if ( $ message === '' ) { $ this -> statusMessage = $ this -> getStatusMessage ( ) ; } else { $ this -> statusMessage = $ message ; } return $ this ; }
Sets the HTTP response message

@param string $message
@return self
Sets the HTTP response message