ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
DurationFactory.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
20 namespace ILIAS\HTTP\Duration;
21 
23 
28 {
30 
31  public function __construct(IncrementFactory $incrementFactory)
32  {
33  $this->incrementFactory = $incrementFactory;
34  }
35 
36  public function callbackDuration(int $duration_in_ms): CallbackDuration
37  {
38  return new CallbackDuration($duration_in_ms);
39  }
40 
41  public function increments(): IncrementFactory
42  {
44  }
45 }
__construct(IncrementFactory $incrementFactory)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...