Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
RequestFactory.php
1
<?php
2
namespace
Bitrix\Main\UpdateSystem
;
3
4
class
RequestFactory
5
{
6
private
RequestBuilderInterface
$builder;
7
8
public
function
__construct
(
RequestBuilderInterface
$builder)
9
{
10
$this->builder = $builder;
11
}
12
13
public
function
build
():
Request
14
{
15
return
$this->builder->
setUrl
()->setHeaders()->setProxy()->setBody()->build();
16
}
17
}
Bitrix\Main\UpdateSystem\RequestFactory
Definition
RequestFactory.php:5
Bitrix\Main\UpdateSystem\RequestFactory\build
build()
Definition
RequestFactory.php:13
Bitrix\Main\UpdateSystem\RequestFactory\__construct
__construct(RequestBuilderInterface $builder)
Definition
RequestFactory.php:8
Bitrix\Main\UpdateSystem\Request
Definition
Request.php:11
Bitrix\Main\UpdateSystem\Request\setUrl
setUrl(Uri $url)
Definition
Request.php:28
Bitrix\Main\UpdateSystem\RequestBuilderInterface
Definition
RequestBuilderInterface.php:5
Bitrix\Main\UpdateSystem
Definition
ActivationSystem.php:1
modules
main
lib
UpdateSystem
RequestFactory.php
Создано системой
1.10.0