original_string: public function syncDictionary()
      {
          $this->kernel           = $this->get('kernel');
          $this->locales          = $this->getLocales();
          $this->propertyAccessor = PropertyAccess::createPropertyAccessor();
          $this->filesystem       = new Filesystem();
          
          foreach ($this->locales as $locale) {
              $this->updateFilesystemTranslationsForLocale($locale);
          }
          
          $this->synchronizeDatabaseTranslations();
      }
code: public function syncDictionary()
      {
          $this->kernel           = $this->get('kernel');
          $this->locales          = $this->getLocales();
          $this->propertyAccessor = PropertyAccess::createPropertyAccessor();
          $this->filesystem       = new Filesystem();
          
          foreach ($this->locales as $locale) {
              $this->updateFilesystemTranslationsForLocale($locale);
          }
          
          $this->synchronizeDatabaseTranslations();
      }
code_tokens: public function syncDictionary ( ) { $ this -> kernel = $ this -> get ( 'kernel' ) ; $ this -> locales = $ this -> getLocales ( ) ; $ this -> propertyAccessor = PropertyAccess :: createPropertyAccessor ( ) ; $ this -> filesystem = new Filesystem ( ) ; foreach ( $ this -> locales as $ locale ) { $ this -> updateFilesystemTranslationsForLocale ( $ locale ) ; } $ this -> synchronizeDatabaseTranslations ( ) ; }
docstring: Synchronizes database and filesystem translations
docstring_tokens: Synchronizes database and filesystem translations