protected function addResourceFiles()
    {
        foreach ($this->data as $service => $resources) {
            foreach ($resources as $resourceName => $records) {
                $this->package->zipResourceFile($service . '/' . $resourceName . '.json', $records);
            }
        }
    }
protected function addResourceFiles()
    {
        foreach ($this->data as $service => $resources) {
            foreach ($resources as $resourceName => $records) {
                $this->package->zipResourceFile($service . '/' . $resourceName . '.json', $records);
            }
        }
    }
protected function addResourceFiles ( ) { foreach ( $ this -> data as $ service => $ resources ) { foreach ( $ resources as $ resourceName => $ records ) { $ this -> package -> zipResourceFile ( $ service . '/' . $ resourceName . '.json' , $ records ) ; } } }
Adds resource files to the package.

@throws \DreamFactory\Core\Exceptions\InternalServerErrorException
Adds resource files to the package .