mirror of
				https://github.com/Ne-Lexa/php-zip.git
				synced 2025-10-29 04:36:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			620 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			620 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| declare(strict_types=1);
 | |
| 
 | |
| /*
 | |
|  * This file is part of the nelexa/zip package.
 | |
|  * (c) Ne-Lexa <https://github.com/Ne-Lexa/php-zip>
 | |
|  * 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();
 | |
|     }
 | |
| }
 |