mime/MimeTypes.php

QloApps · tools/mailer/symfony/mime/MimeTypes.php · php · OSL-3.0
email, tag:knn-classified

Manages MIME types and file extensions, providing guessing and registration.

// Source: https://github.com/Qloapps/QloApps | License: OSL-3.0 | Modified files must remain under OSL-3.0
// Modifications to this file must remain under OSL-3.0.
// Provided via justclaw.it.com; keep this notice with the code.
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Mime;

use Symfony\Component\Mime\Exception\LogicException;

/**
 * Manages MIME types and file extensions.
 *
 * For MIME type guessing, you can register custom guessers
 * by calling the registerGuesser() method.
 * Custom guessers are always called before any default ones:
 *
 *     $guesser = new Mi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key