ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Services.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\MetaData\Structure\Services\Services as StructureServices;
34
36{
39
40 protected PathServices $path_services;
41 protected StructureServices $structure_services;
42
43 public function __construct(
44 PathServices $path_services,
45 StructureServices $structure_services
46 ) {
47 $this->path_services = $path_services;
48 $this->structure_services = $structure_services;
49 }
50
52 {
53 if (isset($this->manipulator)) {
54 return $this->manipulator;
55 }
56 return $this->manipulator = new Manipulator(
57 $this->scaffoldProvider(),
58 new MarkerFactory(),
59 $this->path_services->navigatorFactory(),
60 $this->path_services->pathFactory(),
62 $this->path_services,
63 )
64 );
65 }
66
68 {
69 if (isset($this->scaffold_provider)) {
71 }
72 return $this->scaffold_provider = new ScaffoldProvider(
74 new DataFactory(),
76 ),
77 $this->path_services->pathFactory(),
78 $this->path_services->navigatorFactory(),
79 $this->structure_services->structure()
80 );
81 }
82}
ScaffoldProviderInterface $scaffold_provider
Definition: Services.php:38
__construct(PathServices $path_services, StructureServices $structure_services)
Definition: Services.php:43