public function optimize (stdClass $data)
    {
        $data->translationFilePrefix = $this->stringWithUnderscore ($data->serviceURL);

        $data->translationFilePrefix = $this->stringWithUnderscore ($data->translationFilePrefix);
        $data->translationsLocation = $this->getTranslationPrefix ($data) . $data->translationFilePrefix;

        return $data;
    }
public function optimize (stdClass $data)
    {
        $data->translationFilePrefix = $this->stringWithUnderscore ($data->serviceURL);

        $data->translationFilePrefix = $this->stringWithUnderscore ($data->translationFilePrefix);
        $data->translationsLocation = $this->getTranslationPrefix ($data) . $data->translationFilePrefix;

        return $data;
    }
public function optimize ( stdClass $ data ) { $ data -> translationFilePrefix = $ this -> stringWithUnderscore ( $ data -> serviceURL ) ; $ data -> translationFilePrefix = $ this -> stringWithUnderscore ( $ data -> translationFilePrefix ) ; $ data -> translationsLocation = $ this -> getTranslationPrefix ( $ data ) . $ data -> translationFilePrefix ; return $ data ; }
Optimizing Translations data

@param stdClass $data
@return stdClass
Optimizing Translations data