src/WarningMessage.php
public static function create($message, $name = null)
    {
        return Message::generic($message, self::$CSSClass, $name);
    }
public static function create($message, $name = null)
    {
        return Message::generic($message, self::$CSSClass, $name);
    }
public static function create ( $ message , $ name = null ) { return Message :: generic ( $ message , self :: $ CSSClass , $ name ) ; }
creates a message box.

@param string $message
@param string $name (optional)

@return MessageBoxField
creates a message box .