ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
FullEditorInitiator.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\MetaData\Editor\Full\Services\Services as FullEditorServices;
25 
27 {
29 
30  public function __construct(InternalServices $services)
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  ),
47  new FormContent($services),
48  new TableContent($services),
49  $panel_content = new PanelContent(
50  $services,
51  $ui_factory = $this->services->dic()->ui()->factory(),
52  $presenter = $this->services->editor()->presenter()
53  ),
54  new RootContent(
55  $services,
56  $ui_factory,
57  $presenter,
58  $panel_content
59  ),
60  );
61  }
62 }