Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
agententity.php
1<?php
2
4
6{
7 private string $name;
8 private string $module;
9 private int $delay;
10 private int $interval;
11 private int $escalatedInterval;
12
13 public function __construct(
14 string $name,
15 string $module = 'calendar',
16 int $delay = 0,
17 int $interval = 3600,
18 int $escalatedInterval = 60
19 )
20 {
21 $this->name = $name;
22 $this->module = $module;
23 $this->delay = $delay;
24 $this->interval = $interval;
25 $this->escalatedInterval = $escalatedInterval;
26 }
27
31 public function getName(): string
32 {
33 return $this->name;
34 }
35
39 public function getModule(): string
40 {
41 return $this->module;
42 }
43
47 public function getDelay(): int
48 {
49 return $this->delay;
50 }
51
55 public function getInterval(): int
56 {
57 return $this->interval;
58 }
59
63 public function getEscalatedInterval(): int
64 {
65 return $this->escalatedInterval;
66 }
67}
__construct(string $name, string $module='calendar', int $delay=0, int $interval=3600, int $escalatedInterval=60)