AddMimeTypeGuesserPass
in package
implements
CompilerPassInterface
Registers custom mime types guessers.
Tags
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
$mimeTypeGuesserTag
private
mixed
$mimeTypeGuesserTag
$mimeTypesService
private
mixed
$mimeTypesService
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 —process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder