Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
MimeTypeGuesserInterface.php
01 <?php
02
03 /*
04 * This file is part of the Symfony package.
05 *
06 * (c) Fabien Potencier <fabien@symfony.com>
07 *
08 * For the full copyright and license information, please view the LICENSE
09 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\HttpFoundation\File\MimeType;
13
14 use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
15 use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
16
17 /**
18 * Guesses the mime type of a file.
19 *
20 * @author Bernhard Schussek <bschussek@gmail.com>
21 */
22 interface MimeTypeGuesserInterface
23 {
24 /**
25 * Guesses the mime type of the file with the given path.
26 *
27 * @param string $path The path to the file
28 *
29 * @return string|null The mime type or NULL, if none could be guessed
30 *
31 * @throws FileNotFoundException If the file does not exist
32 * @throws AccessDeniedException If the file could not be read
33 */
34 public function guess($path);
35 }
36