public function getResourceFromZip($resourceFile)
    {
        $data = [];
        $json = $this->zip->getFromName($resourceFile);
        if (false !== $json) {
            $data = json_decode($json, JSON_UNESCAPED_SLASHES);
        }

        return $data;
    }
public function getResourceFromZip($resourceFile)
    {
        $data = [];
        $json = $this->zip->getFromName($resourceFile);
        if (false !== $json) {
            $data = json_decode($json, JSON_UNESCAPED_SLASHES);
        }

        return $data;
    }
public function getResourceFromZip ( $ resourceFile ) { $ data = [ ] ; $ json = $ this -> zip -> getFromName ( $ resourceFile ) ; if ( false !== $ json ) { $ data = json_decode ( $ json , JSON_UNESCAPED_SLASHES ) ; } return $ data ; }
Retrieves resource data from ZipArchive.

@param $resourceFile

@return array
Retrieves resource data from ZipArchive .