Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
GetAverageWorkflowDurationResponse.php
1
<?php
2
3
namespace
Bitrix\Bizproc\Api\Response\WorkflowStateService
;
4
5
use
Bitrix\Bizproc\Result
;
6
7
class
GetAverageWorkflowDurationResponse
extends
Result
8
{
9
public
function
setAverageDuration
(
int
$averageDuration): static
10
{
11
$this->data[
'averageDuration'
] = $averageDuration;
12
13
return
$this;
14
}
15
16
public
function
getAverageDuration
(): ?int
17
{
18
$averageTime = $this->data[
'averageDuration'
] ??
null
;
19
20
return
is_int($averageTime) ? $averageTime :
null
;
21
}
22
}
Bitrix\Bizproc\Api\Response\WorkflowStateService\GetAverageWorkflowDurationResponse
Definition
GetAverageWorkflowDurationResponse.php:8
Bitrix\Bizproc\Api\Response\WorkflowStateService\GetAverageWorkflowDurationResponse\setAverageDuration
setAverageDuration(int $averageDuration)
Definition
GetAverageWorkflowDurationResponse.php:9
Bitrix\Bizproc\Api\Response\WorkflowStateService\GetAverageWorkflowDurationResponse\getAverageDuration
getAverageDuration()
Definition
GetAverageWorkflowDurationResponse.php:16
Bitrix\Bizproc\Result
Definition
result.php:6
Bitrix\Bizproc\Api\Response\WorkflowStateService
Definition
GetAverageWorkflowDurationResponse.php:3
modules
bizproc
lib
Api
Response
WorkflowStateService
GetAverageWorkflowDurationResponse.php
Создано системой
1.10.0