/** * Sets the maximum allowed message length * * @param integer $length */ public static function setMessageLength($length = -1) { self::$messageLength = $length; }