src/Message.php
public static function success($message = null, $name = null)
    {
        return self::generic($message, SuccessMessage::$CSSClass, $name);
    }
public static function success($message = null, $name = null)
    {
        return self::generic($message, SuccessMessage::$CSSClass, $name);
    }
public static function success ( $ message = null , $ name = null ) { return self :: generic ( $ message , SuccessMessage :: $ CSSClass , $ name ) ; }
Creates a success message.

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

@return MessageBoxField
Creates a success message .