public function ParamConverterSubscriber::__construct
public ParamConverterSubscriber::__construct(ParamConverterManagerInterface $param_converter_manager)
Constructs a new ParamConverterSubscriber.
Parameters
\Drupal\Core\ParamConverter\ParamConverterManagerInterface $param_converter_manager: The parameter converter manager that will be responsible for upcasting request attributes.
File
- core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 29
Class
- ParamConverterSubscriber
- Event subscriber for registering parameter converters with routes.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(ParamConverterManagerInterface $param_converter_manager) { $this->paramConverterManager = $param_converter_manager; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!ParamConverterSubscriber.php/function/ParamConverterSubscriber::__construct/8.1.x