src/Tools/Parser.php
public static function parseFromMixedCase($identifier, array $formats)
    {
        $partsArray = [$identifier];
        $parseCamelCaseLast = false;

        foreach ($formats as $format) {
            if ($format === CaseFormat::CAMEL_CASE) {
                $parseCamelCaseLast = true;
                continue;
            }

            $partsArray = static::parseEachPart($partsArray, $format);
        }

        if ($parseCamelCaseLast) {
            $partsArray = static::parseEachPart(
                $partsArray,
                CaseFormat::CAMEL_CASE
            );
        }

        return $partsArray;
    }
public static function parseFromMixedCase($identifier, array $formats)
    {
        $partsArray = [$identifier];
        $parseCamelCaseLast = false;

        foreach ($formats as $format) {
            if ($format === CaseFormat::CAMEL_CASE) {
                $parseCamelCaseLast = true;
                continue;
            }

            $partsArray = static::parseEachPart($partsArray, $format);
        }

        if ($parseCamelCaseLast) {
            $partsArray = static::parseEachPart(
                $partsArray,
                CaseFormat::CAMEL_CASE
            );
        }

        return $partsArray;
    }
Inherit Doc from Interfaces\Parser