protected function stringifyMessage($message)
    {
        if (is_array($message) || is_object($message) || is_bool($message)) {
            return (string)var_export($message, true);
        }
        return (string)$message;
    }
protected function stringifyMessage($message)
    {
        if (is_array($message) || is_object($message) || is_bool($message)) {
            return (string)var_export($message, true);
        }
        return (string)$message;
    }
protected function stringifyMessage ( $ message ) { if ( is_array ( $ message ) || is_object ( $ message ) || is_bool ( $ message ) ) { return ( string ) var_export ( $ message , true ) ; } return ( string ) $ message ; }
Stringify a message so it can be written.

@param mixed $message

@return string
Stringify a message so it can be written .