ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ToolServices.php
Go to the documentation of this file.
1 <?php namespace ILIAS\GlobalScreen\Scope\Tool;
2 
6 
13 {
14  use SingletonTrait;
15 
16 
20  public function factory() : ToolFactory
21  {
22  return $this->get(ToolFactory::class);
23  }
24 
25 
29  public function context() : ContextServices
30  {
31  return $this->get(ContextServices::class);
32  }
33 }
trait SingletonTrait
Class SingletonTrait.