ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Shape.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Data\Text;
22
25
34interface Shape
35{
39 public function fromString(string $text): Text;
40
41 public function isRawStringCompliant(string $text): bool;
51 public function toHTML(Text $text): HTML;
61 public function toPlainText(Text $text): PlainText;
62 public function getMarkup(): Markup;
63}
This class currently is a stub only.
Definition: HTML.php:28
This class currently is a stub only.
Definition: PlainText.php:28
Methods in this interface should mostly be called by the according methods on Text instances,...
Definition: Shape.php:35
fromString(string $text)
toHTML(Text $text)
It should almost never be required to call this directly on shape.
toPlainText(Text $text)
It should almost never be required to call this directly on shape.
isRawStringCompliant(string $text)