‪TYPO3CMS  ‪main
generateMimeTypes.php File Reference

Go to the source code of this file.

Classes

class  TYPO3\CMS\Core\Resource\MimeTypeCollection
 

Namespaces

 TYPO3\CMS\Core\Resource
 

Variables

 $dbJson = file_get_contents(dirname(__DIR__) . '/node_modules/mime-db/db.json')
 
 $mimeTypeMapping = []
 
 $mimeTypeString = ''
 
foreach($dbJson as $mimeType=> $mimeTypeInfo) foreach($mimeTypeMapping as $mimeType=> $extensionInfo) $classTemplate
 

Variable Documentation

◆ $classTemplate

foreach ( $dbJson as $mimeType=> $mimeTypeInfo) foreach ( $mimeTypeMapping as $mimeType=> $extensionInfo) $classTemplate
Initial value:
= '<?php
declare(strict_types=1)

Definition at line 37 of file generateMimeTypes.php.

◆ $dbJson

$dbJson = file_get_contents(dirname(__DIR__) . '/node_modules/mime-db/db.json')

Definition at line 19 of file generateMimeTypes.php.

◆ $mimeTypeMapping

$mimeTypeMapping = []

Definition at line 22 of file generateMimeTypes.php.

◆ $mimeTypeString

$mimeTypeString = ''

Definition at line 23 of file generateMimeTypes.php.