/** * Returns entry content * * @param io.archive.zip.ZipEntry entry * @return string */ protected function entryContent(ZipEntry $entry) { if ($entry->isDirectory()) { return NULL; } else { return (string) Streams::readAll($entry->getInputStream()); } }