Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class Timeouts |
||
12 | { |
||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | private $connect = null; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | private $execute = null; |
||
22 | |||
23 | /** |
||
24 | * Timeouts constructor. |
||
25 | * @param int $connect |
||
26 | * @param int $execute |
||
27 | */ |
||
28 | public function __construct(int $connect = 1500, int $execute = 3500) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return int |
||
36 | */ |
||
37 | public function connect() : int |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return int |
||
44 | */ |
||
45 | public function execute() : int |
||
50 |