ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Data\Text\Factory Class Reference
+ Collaboration diagram for ILIAS\Data\Text\Factory:

Public Member Functions

 __construct (protected MarkdownFactory $markdown_factory)
 
 markdown (?string $markdown=null)
 

Detailed Description

Definition at line 23 of file Factory.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\Text\Factory::__construct ( protected MarkdownFactory  $markdown_factory)

Definition at line 25 of file Factory.php.

27 {
28 }

Member Function Documentation

◆ markdown()

ILIAS\Data\Text\Factory::markdown ( ?string  $markdown = null)

Definition at line 30 of file Factory.php.

30 : MarkdownFactory|Markdown
31 {
32 if ($markdown !== null) {
33 return $this->markdown_factory->generic($markdown);
34 }
35 return $this->markdown_factory;
36 }

The documentation for this class was generated from the following file: