* For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PhpZip\Tests\Internal\Epub; use PhpZip\Exception\ZipEntryNotFoundException; use PhpZip\Model\ZipContainer; class EpubZipContainer extends ZipContainer { /** * @throws ZipEntryNotFoundException */ public function getMimeType(): string { return $this->getEntry('mimetype')->getData()->getDataAsString(); } }