ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
ToolFactory.php
Go to the documentation of this file.
1
<?
php
declare(strict_types=1);
2
3
namespace
ILIAS\GlobalScreen\Scope\Tool\Factory
;
4
5
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
6
14
class
ToolFactory
15
{
16
26
public
function
tool
(
IdentificationInterface
$identification) :
Tool
27
{
28
return
new
Tool
($identification);
29
}
30
31
37
public
function
treeTool
(
IdentificationInterface
$identification) :
TreeTool
38
{
39
return
new
TreeTool
($identification);
40
}
41
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory
Class ToolFactory.
Definition:
ToolFactory.php:15
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory\tool
tool(IdentificationInterface $identification)
Returns you a Tool which can contain special features in s context.
Definition:
ToolFactory.php:26
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory\treeTool
treeTool(IdentificationInterface $identification)
Definition:
ToolFactory.php:37
ILIAS\GlobalScreen\Scope\Tool\Factory\Tool
Class Tool.
Definition:
Tool.php:20
ILIAS\GlobalScreen\Scope\Tool\Factory\TreeTool
Class TreeTool.
Definition:
TreeTool.php:19
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:9
ILIAS\GlobalScreen\Scope\Tool\Factory
Definition:
AbstractBaseTool.php:3
src
GlobalScreen
Scope
Tool
Factory
ToolFactory.php
Generated on Fri Oct 3 2025 20:01:15 for ILIAS by
1.9.4 (using
Doxyfile
)