ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
DurationFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\HTTP\Duration;
22 
24 
29 {
30  public function __construct(protected IncrementFactory $incrementFactory)
31  {
32  }
33 
34  public function callbackDuration(int $duration_in_ms): CallbackDuration
35  {
36  return new CallbackDuration($duration_in_ms);
37  }
38 
39  public function increments(): IncrementFactory
40  {
41  return $this->incrementFactory;
42  }
43 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(protected IncrementFactory $incrementFactory)