src/Utilities/Miscellaneous.php
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);
    }
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);
    }
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 ) ; }
Make a string's first character lowercase

@param string    $text          The text to get first character lowercase
@param null|bool $restLowercase (optional) Information that to do with rest of given string
@return string

Values of the $restLowercase argument:
- null (default): nothing is done with the string
- true: the rest of string is lowercased
- false: the rest of string is uppercased
Make a string s first character lowercase