ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
DigestInitiator.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
26 {
28 
29  public function __construct(InternalServices $services)
30  {
31  $this->services = $services;
32  }
33 
34  public function init(): Digest
35  {
36  return new Digest(
37  $content_assembler = new ContentAssembler(
38  $path_factory = $this->services->paths()->pathFactory(),
39  $navigator_factory = $this->services->paths()->navigatorFactory(),
40  $this->services->dic()->ui()->factory(),
41  $this->services->dic()->refinery(),
42  $this->services->editor()->presenter(),
43  $path_collection = new PathCollection(
44  $path_factory
45  ),
46  $this->services->editor()->linkFactory(),
47  $copyright_handler = new CopyrightHandler($this->services->copyright()->repository()),
48  $this->services->dataHelper()->dataHelper()
49  ),
51  $content_assembler,
52  $copyright_handler,
53  $path_collection,
54  $this->services->editor()->manipulator(),
55  $path_factory,
56  $navigator_factory
57  )
58  );
59  }
60 }