function ParamConverterManager::__construct

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php \Drupal\Core\ParamConverter\ParamConverterManager::__construct()

Constructs a new ParamConverterManager.

Parameters

\Symfony\Contracts\Service\ServiceCollectionInterface $converters: The param converter services, keyed by service ID.

File

core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php, line 24

Class

ParamConverterManager
Manages converter services for converting request parameters to full objects.

Namespace

Drupal\Core\ParamConverter

Code

public function __construct(#[AutowireLocator('paramconverter')] protected ServiceCollectionInterface $converters) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.