ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
NullScaffoldFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Elements\Scaffolds
;
22
23
use
ILIAS\MetaData\Structure\Definitions\DefinitionInterface
;
24
use
ILIAS\MetaData\Elements\ElementInterface
;
25
use
ILIAS\MetaData\Elements\SetInterface
;
26
use
ILIAS\MetaData\Elements\NullElement
;
27
use
ILIAS\MetaData\Elements\NullSet
;
28
29
class
NullScaffoldFactory
implements
ScaffoldFactoryInterface
30
{
31
public
function
scaffold
(
DefinitionInterface
$definition):
ElementInterface
32
{
33
return
new
NullElement
();
34
}
35
36
public
function
set
(
DefinitionInterface
$root_definition):
SetInterface
37
{
38
return
new
NullSet
();
39
}
40
}
ILIAS\MetaData\Structure\Definitions\DefinitionInterface
Definition:
DefinitionInterface.php:25
ILIAS\MetaData\Elements\Scaffolds\NullScaffoldFactory
Definition:
NullScaffoldFactory.php:29
ILIAS\MetaData\Elements\NullSet
Definition:
NullSet.php:26
ILIAS\MetaData\Elements\NullElement
Definition:
NullElement.php:32
NullElement
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:28
SetInterface
ILIAS\MetaData\Elements\Scaffolds\ScaffoldFactoryInterface
Definition:
ScaffoldFactoryInterface.php:27
ILIAS\MetaData\Elements\SetInterface
Definition:
SetInterface.php:26
ILIAS\MetaData\Elements\Scaffolds\NullScaffoldFactory\scaffold
scaffold(DefinitionInterface $definition)
Definition:
NullScaffoldFactory.php:31
ElementInterface
DefinitionInterface
ILIAS\MetaData\Elements\Scaffolds
Definition:
NullScaffoldFactory.php:21
NullSet
components
ILIAS
MetaData
classes
Elements
Scaffolds
NullScaffoldFactory.php
Generated on Wed Sep 3 2025 23:03:28 for ILIAS by
1.8.13 (using
Doxyfile
)