kartik\markdown\Markdown::customProcess PHP Метод

customProcess() публичный статический Метод

Custom conversion of patterns
public static customProcess ( string $content, array $config = [] ) : string
$content string
$config array . List of key value pairs to find and replace
Результат string
    public static function customProcess($content, $config = [])
    {
        if (empty($config)) {
            return $content;
        }
        return strtr($content, $config);
    }