ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FactoryImpl.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\UI\Factory as UIFactory;
25use ILIAS\Refinery\Factory as Refinery;
26use ilLanguage;
28
29class 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}
build(ilCalendarRecurrence $recurrence)
Definition: FactoryImpl.php:39
__construct(protected UIFactory $ui_factory, protected Refinery $refinery, protected ilLanguage $lng, protected ilCalendarUserSettings $user_settings)
Definition: FactoryImpl.php:31
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Builds data types.
Definition: Factory.php:36
Model of calendar entry recurrcences based on iCalendar-RFC-5545.
language handling
global $lng
Definition: privfeed.php:31