build/GeneratePhonePrefixData.php
private function getPhonePrefixLanguagePairFromFilename($outputFile)
    {
        $parts = explode(DIRECTORY_SEPARATOR, $outputFile);

        $returnObj = new \stdClass();
        $returnObj->language = $parts[0];

        $returnObj->prefix = $this->getCountryCodeFromTextFileName($parts[1]);

        return $returnObj;
    }
private function getPhonePrefixLanguagePairFromFilename($outputFile)
    {
        $parts = explode(DIRECTORY_SEPARATOR, $outputFile);

        $returnObj = new \stdClass();
        $returnObj->language = $parts[0];

        $returnObj->prefix = $this->getCountryCodeFromTextFileName($parts[1]);

        return $returnObj;
    }
private function getPhonePrefixLanguagePairFromFilename ( $ outputFile ) { $ parts = explode ( DIRECTORY_SEPARATOR , $ outputFile ) ; $ returnObj = new \ stdClass ( ) ; $ returnObj -> language = $ parts [ 0 ] ; $ returnObj -> prefix = $ this -> getCountryCodeFromTextFileName ( $ parts [ 1 ] ) ; return $ returnObj ; }
Extracts the phone prefix and the language code contained in the provided file name.
Extracts the phone prefix and the language code contained in the provided file name .