ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
FactoryImpl.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 use ilLanguage;
28 
29 class FactoryImpl implements Factory
30 {
31  public function __construct(
32  protected UIFactory $ui_factory,
33  protected Refinery $refinery,
34  protected ilLanguage $lng,
35  protected ilCalendarUserSettings $user_settings
36  ) {
37  }
38 
39  public function build(ilCalendarRecurrence $recurrence): Builder
40  {
41  return new BuilderImpl(
42  $recurrence,
43  $this->ui_factory,
44  $this->refinery,
45  $this->lng,
46  $this->user_settings
47  );
48  }
49 }
__construct(protected UIFactory $ui_factory, protected Refinery $refinery, protected ilLanguage $lng, protected ilCalendarUserSettings $user_settings)
Definition: FactoryImpl.php:31
build(ilCalendarRecurrence $recurrence)
Definition: FactoryImpl.php:39
global $lng
Definition: privfeed.php:31