FileAccess Orion

AddMimeTypeGuesserPass
in package
implements CompilerPassInterface

Registers custom mime types guessers.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

CompilerPassInterface
Interface that must be implemented by compilation passes.

Table of Contents

$mimeTypeGuesserTag  : mixed
$mimeTypesService  : mixed
__construct()  : mixed
process()  : mixed
You can modify the container here before it is dumped to PHP code.

Properties

Methods

__construct()

public __construct([string $mimeTypesService = 'mime_types' ][, string $mimeTypeGuesserTag = 'mime.mime_type_guesser' ]) : mixed
Parameters
$mimeTypesService : string = 'mime_types'
$mimeTypeGuesserTag : string = 'mime.mime_type_guesser'
Return values
mixed

Search results