src/Kunstmaan/TranslatorBundle/Service/Command/Importer/ImportCommandHandler.php
public function executeImportCommand(ImportCommand $importCommand)
    {
        if ($importCommand->getGlobals() || $importCommand->getDefaultBundle() === false || $importCommand->getDefaultBundle() === null) {
            return $this->importGlobalTranslationFiles($importCommand);
        }

        return $this->importBundleTranslationFiles($importCommand);
    }
public function executeImportCommand(ImportCommand $importCommand)
    {
        if ($importCommand->getGlobals() || $importCommand->getDefaultBundle() === false || $importCommand->getDefaultBundle() === null) {
            return $this->importGlobalTranslationFiles($importCommand);
        }

        return $this->importBundleTranslationFiles($importCommand);
    }
public function executeImportCommand ( ImportCommand $ importCommand ) { if ( $ importCommand -> getGlobals ( ) || $ importCommand -> getDefaultBundle ( ) === false || $ importCommand -> getDefaultBundle ( ) === null ) { return $ this -> importGlobalTranslationFiles ( $ importCommand ) ; } return $ this -> importBundleTranslationFiles ( $ importCommand ) ; }
Execute an import command

@param ImportCommand $importCommand

@return int total number of files imported
Execute an import command