ILIAS  release_7 Revision v7.30-3-g800a261c036
ToolServices.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
23
27
33{
42
43 public function __construct()
44 {
45 $this->tool_factory = new ToolFactory();
46 $this->context_services = new ContextServices();
47 }
48
49
53 public function factory() : ToolFactory
54 {
56 }
57
61 public function context() : ContextServices
62 {
64 }
65}
An exception for terminatinating execution or to throw for unit testing.
Class ToolFactory This factory provides you all available types for MainMenu GlobalScreen Tools.
Definition: ToolFactory.php:30
@noinspection PhpIncompatibleReturnTypeInspection
trait SingletonTrait
Class SingletonTrait.