Drupal 8  8.0.2
MimeTypeGuesser Class Reference
Inheritance diagram for MimeTypeGuesser:

Public Member Functions

 __construct (\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id)
 
 guess ($path)
 
 addGuesser (\Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface $guesser, $priority=0)
 

Static Public Member Functions

static registerWithSymfonyGuesser (\Symfony\Component\DependencyInjection\ContainerInterface $container)
 

Protected Member Functions

 lazyLoadItself ()
 

Protected Attributes

 $drupalProxyOriginalServiceId
 
 $service
 
 $container
 

Detailed Description

Provides a proxy class for .

See Also

Constructor & Destructor Documentation

__construct ( \Symfony\Component\DependencyInjection\ContainerInterface  $container,
  $drupal_proxy_original_service_id 
)

Constructs a ProxyClass Drupal proxy object.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe container.
string$drupal_proxy_original_service_idThe service ID of the original service.

Member Function Documentation

addGuesser ( \Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface  $guesser,
  $priority = 0 
)

{}

References MimeTypeGuesser\lazyLoadItself().

Here is the call graph for this function:

guess (   $path)

{}

References MimeTypeGuesser\lazyLoadItself().

Here is the call graph for this function:

lazyLoadItself ( )
protected

Lazy loads the real service from the container.

Returns
object Returns the constructed real service.

References Drupal\service().

Referenced by MimeTypeGuesser\addGuesser(), and MimeTypeGuesser\guess().

Here is the call graph for this function:

Here is the caller graph for this function:

static registerWithSymfonyGuesser ( \Symfony\Component\DependencyInjection\ContainerInterface  $container)
static

{}

References MimeTypeGuesser\registerWithSymfonyGuesser().

Here is the call graph for this function:


The documentation for this class was generated from the following file: