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\EventSubscriber

Code

public function __construct(ParamConverterManagerInterface $param_converter_manager) {
  $this->paramConverterManager = $param_converter_manager;
}
doc_Drupal
2016-10-29 09:33:11
Comments
Leave a Comment

Please login to continue.