apk = new ApkArchive($apkFile); $this->manifest = new ApkManifest(new ApkXmlParser($this->apk->getManifestStream())); } /** * Get Manifest Object * @return ApkManifest */ public function getManifest() { return $this->manifest; } /** * Get the apk. Zip handler. * - Extract all(or sp. entries) files, * - add file, * - recompress * - and other ZipArchive features. * * @return ApkArchive */ public function getApkArchive() { return $this->apk; } /** * Extract apk content directly * * @param mixed $destination * @param array $entries * @return bool */ public function extractTo($destination,$entries = NULL) { return $this->apk->extractTo($destination,$entries); } }