public static function lowercaseFirst($text, $restLowercase = null)
    {
        if (empty($text)) {
            return '';
        }

        $effect = $text;

        if ($restLowercase) {
            $effect = mb_strtolower($effect);
        } elseif (false === $restLowercase) {
            $effect = mb_strtoupper($effect);
        }

        return lcfirst($effect);
    }