fn_b/app/Services/ShadowrocketNaming.php

13 lines
529 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Services;
final class ShadowrocketNaming
{
public static function align(string $text): string
{
$text = str_replace(['免费苹果账号', '免费苹果ID', '免费苹果id', '(小火箭账号、shadowrocket id)'], ['免费小火箭ID', '免费小火箭ID', '免费小火箭ID', ''], $text);
return str_replace(['免费小火箭ID,可用于使用小火箭(shadowrocket)', 'Appale ID'], ['免费Apple ID,已购买小火箭(shadowrocket)', 'Apple ID'], $text);
}
}