ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Factory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Data\Text
;
22
23
class
Factory
24
{
25
public
function
__construct
(
26
protected
MarkdownFactory
$markdown_factory
27
) {
28
}
29
30
public
function
markdown
(?
string
$markdown =
null
):
MarkdownFactory
|
Markdown
31
{
32
if
($markdown !==
null
) {
33
return
$this->markdown_factory->generic($markdown);
34
}
35
return
$this->markdown_factory;
36
}
37
}
ILIAS\Data\Text\Factory\__construct
__construct(protected MarkdownFactory $markdown_factory)
Definition:
Factory.php:25
ILIAS\Data\Text
Definition:
Factory.php:21
ILIAS\Data\Text\Factory\markdown
markdown(?string $markdown=null)
Definition:
Factory.php:30
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\Data\Factory
Builds data types.
Definition:
Factory.php:35
ILIAS\Data\Text\Markdown
Definition:
Markdown.php:25
ILIAS\Data\Text\MarkdownFactory
Definition:
MarkdownFactory.php:23
components
ILIAS
Data
src
Text
Factory.php
Generated on Sun Aug 31 2025 23:01:50 for ILIAS by
1.8.13 (using
Doxyfile
)