ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ToolServices.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
23 
27 
33 {
37  private $tool_factory;
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  {
55  return $this->tool_factory;
56  }
57 
61  public function context() : ContextServices
62  {
64  }
65 }
Class ToolFactory This factory provides you all available types for MainMenu GlobalScreen Tools...
Definition: ToolFactory.php:29
PhpIncompatibleReturnTypeInspection
trait SingletonTrait
Class SingletonTrait.