ILIAS  release_8 Revision v8.23
DurationFactory.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 
18 namespace ILIAS\HTTP\Duration;
19 
21 
26 {
28 
29  public function __construct(IncrementFactory $incrementFactory)
30  {
31  $this->incrementFactory = $incrementFactory;
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  {
42  }
43 }
__construct(IncrementFactory $incrementFactory)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...