ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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\Elements\NullElement
Definition:
NullElement.php:33
ILIAS\MetaData\Elements\NullSet
Definition:
NullSet.php:27
ILIAS\MetaData\Elements\Scaffolds\NullScaffoldFactory
Definition:
NullScaffoldFactory.php:30
ILIAS\MetaData\Elements\Scaffolds\NullScaffoldFactory\scaffold
scaffold(DefinitionInterface $definition)
Definition:
NullScaffoldFactory.php:31
ILIAS\MetaData\Elements\ElementInterface
Definition:
ElementInterface.php:29
ILIAS\MetaData\Elements\Scaffolds\ScaffoldFactoryInterface
Definition:
ScaffoldFactoryInterface.php:28
ILIAS\MetaData\Elements\SetInterface
Definition:
SetInterface.php:27
ILIAS\MetaData\Structure\Definitions\DefinitionInterface
Definition:
DefinitionInterface.php:26
ILIAS\MetaData\Elements\Scaffolds
Definition:
NullScaffoldFactory.php:21
components
ILIAS
MetaData
classes
Elements
Scaffolds
NullScaffoldFactory.php
Generated on Sat Oct 18 2025 23:03:27 for ILIAS by
1.9.4 (using
Doxyfile
)