data = json_decode($contents, true)) === null) { throw new Exception("Can\'t decode archive json"); } } /** * Get uncompressed size, -1 unknown * * @return int */ public function getUSize() { return isset($this->data['ARC']['Usize']) ? $this->data['ARC']['Usize'] : -1; } /** * Return true if package has filtered core folders * * @return bool */ public function hasFilteredCoreFolders() { return $this->data['ARC']['Status']['HasFilteredCoreFolders']; } }