ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DurationFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace 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}
__construct(protected IncrementFactory $incrementFactory)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...