original_string: protected function addResourceFiles()
      {
          foreach ($this->data as $service => $resources) {
              foreach ($resources as $resourceName => $records) {
                  $this->package->zipResourceFile($service . '/' . $resourceName . '.json', $records);
              }
          }
      }
code: protected function addResourceFiles()
      {
          foreach ($this->data as $service => $resources) {
              foreach ($resources as $resourceName => $records) {
                  $this->package->zipResourceFile($service . '/' . $resourceName . '.json', $records);
              }
          }
      }
code_tokens: protected function addResourceFiles ( ) { foreach ( $ this -> data as $ service => $ resources ) { foreach ( $ resources as $ resourceName => $ records ) { $ this -> package -> zipResourceFile ( $ service . '/' . $ resourceName . '.json' , $ records ) ; } } }
docstring: Adds resource files to the package.
  
  @throws \DreamFactory\Core\Exceptions\InternalServerErrorException
docstring_tokens: Adds resource files to the package .