ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Factory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
30class Factory implements C\Factory
31{
32 public function __construct(
33 protected C\AsyncRefreshInterval $async_refresh_interval,
34 protected SignalGeneratorInterface $signal_generator,
35 protected State\Factory $state_factory,
36 ) {
37 }
38
39 public function bar(string $label, ?URI $async_url = null): Bar
40 {
41 return new Bar($this->async_refresh_interval, $this->signal_generator, $label, $async_url);
42 }
43
44 public function state(): State\Factory
45 {
46 return $this->state_factory;
47 }
48}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
bar(string $label, ?URI $async_url=null)
Definition: Factory.php:39
__construct(protected C\AsyncRefreshInterval $async_refresh_interval, protected SignalGeneratorInterface $signal_generator, protected State\Factory $state_factory,)
Definition: Factory.php:32
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...