You are here

public function SophronMimeTypeGuesser::__construct in Sophron 8

Same name in this branch
  1. 8 sophron_guesser/src/SophronMimeTypeGuesser.php \Drupal\sophron_guesser\SophronMimeTypeGuesser::__construct()
  2. 8 sophron_guesser/src/ProxyClass/SophronMimeTypeGuesser.php \Drupal\sophron_guesser\ProxyClass\SophronMimeTypeGuesser::__construct()

Constructs a ProxyClass Drupal proxy object.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

string $drupal_proxy_original_service_id: The service ID of the original service.

File

sophron_guesser/src/ProxyClass/SophronMimeTypeGuesser.php, line 49

Class

SophronMimeTypeGuesser
Provides a proxy class for \Drupal\sophron_guesser\SophronMimeTypeGuesser.

Namespace

Drupal\sophron_guesser\ProxyClass

Code

public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) {
  $this->container = $container;
  $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id;
}