ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 use ILIAS\Data\URI;
26 
30 class 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 }
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
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...