1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
AIStep.php
См. документацию.
1
<?php
2
declare(strict_types=1);
3
4
namespace
Bitrix\Landing\Copilot\Generation\Step
;
5
6
use
Bitrix\Landing\Copilot\Connector\AI\IConnector
;
7
8
abstract
class
AIStep
extends
BaseStep
9
{
10
protected
IConnector
$connector
;
11
12
public
function
__construct
()
13
{
14
parent::__construct();
15
}
16
22
abstract
public
static
function
getConnectorClass
(): string;
23
24
public
function
execute
(): bool
25
{
26
return
parent::execute() && isset($this->connector);
27
}
28
}
Bitrix\Landing\Copilot\Generation\Step\AIStep
Определения
AIStep.php:9
Bitrix\Landing\Copilot\Generation\Step\AIStep\__construct
__construct()
Определения
AIStep.php:12
Bitrix\Landing\Copilot\Generation\Step\AIStep\execute
execute()
Определения
AIStep.php:24
Bitrix\Landing\Copilot\Generation\Step\AIStep\getConnectorClass
static getConnectorClass()
Bitrix\Landing\Copilot\Generation\Step\AIStep\$connector
IConnector $connector
Определения
AIStep.php:10
Bitrix\Landing\Copilot\Generation\Step\BaseStep
Определения
BaseStep.php:12
Bitrix\Landing\Copilot\Connector\AI\IConnector
Определения
IConnector.php:9
Bitrix\Landing\Copilot\Generation\Step
Определения
AIStep.php:4
bitrix
modules
landing
lib
Copilot
Generation
Step
AIStep.php
Создано системой
1.14.0