ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FullEditorInitiator.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\MetaData\Editor\Full\Services\Services as FullEditorServices;
25
27{
29
31 {
32 $this->services = $services;
33 }
34
35 public function init(): FullEditor
36 {
37 return new FullEditor(
38 $this->services->editor()->dictionary(),
39 $this->services->paths()->navigatorFactory(),
40 $services = new FullEditorServices(
41 $this->services->dic(),
42 $this->services->paths(),
43 $this->services->repository(),
44 $this->services->editor(),
45 $this->services->dataHelper()
46 ),
49 $panel_content = new PanelContent(
51 $ui_factory = $this->services->dic()->ui()->factory(),
52 $presenter = $this->services->editor()->presenter()
53 ),
54 new RootContent(
56 $ui_factory,
57 $presenter,
58 $panel_content
59 ),
60 );
61 }
62}