public function HttpConfigRequestForm::__construct in HTTP Client Manager 8
Same name and namespace in other branches
- 8.2 src/Form/HttpConfigRequestForm.php \Drupal\http_client_manager\Form\HttpConfigRequestForm::__construct()
HttpConfigRequestForm constructor.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $requestStack: The Request Stack Service.
\Drupal\http_client_manager\HttpServiceApiHandlerInterface $http_services_api: The Http Service Api Handler service.
\Drupal\http_client_manager\HttpClientManagerFactoryInterface $http_client_manager_factory: The Http Client Factory service.
File
- src/
Form/ HttpConfigRequestForm.php, line 51
Class
- HttpConfigRequestForm
- Class HttpConfigRequestForm.
Namespace
Drupal\http_client_manager\FormCode
public function __construct(RequestStack $requestStack, HttpServiceApiHandlerInterface $http_services_api, HttpClientManagerFactoryInterface $http_client_manager_factory) {
$this->request = $requestStack
->getCurrentRequest();
$this->httpServicesApi = $http_services_api;
$this->httpClientFactory = $http_client_manager_factory;
}