Classes/Installer.php
protected function getFlowPackageType($composerPackageType)
    {
        foreach ($this->allowedPackageTypePrefixes as $allowedPackagePrefix) {
            $packagePrefixPosition = strpos($composerPackageType, $allowedPackagePrefix);
            if ($packagePrefixPosition === 0) {
                return substr($composerPackageType, strlen($allowedPackagePrefix));
            }
        }

        return false;
    }
protected function getFlowPackageType($composerPackageType)
    {
        foreach ($this->allowedPackageTypePrefixes as $allowedPackagePrefix) {
            $packagePrefixPosition = strpos($composerPackageType, $allowedPackagePrefix);
            if ($packagePrefixPosition === 0) {
                return substr($composerPackageType, strlen($allowedPackagePrefix));
            }
        }

        return false;
    }
protected function getFlowPackageType ( $ composerPackageType ) { foreach ( $ this -> allowedPackageTypePrefixes as $ allowedPackagePrefix ) { $ packagePrefixPosition = strpos ( $ composerPackageType , $ allowedPackagePrefix ) ; if ( $ packagePrefixPosition === 0 ) { return substr ( $ composerPackageType , strlen ( $ allowedPackagePrefix ) ) ; } } return false ; }
Gets the Flow package type based on the given composer package type. "typo3-flow-framework" would return "framework".
Returns FALSE if the given composerPackageType is not a Flow package type.

@param string $composerPackageType
@return bool|string
Gets the Flow package type based on the given composer package type . typo3 - flow - framework would return framework . Returns FALSE if the given composerPackageType is not a Flow package type .