ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
◀ ilDoc Overview
SVG.php
Go to the documentation of this file.
1
<?php
2
18
declare(strict_types=1);
19
20
namespace
ILIAS\Data
;
21
29
readonly
class
SVG
implements
\Stringable
30
{
31
public
function
__construct
(
32
protected
string
$raw_svg_string,
33
) {
34
}
35
36
public
function
__toString
(): string
37
{
38
return
$this->raw_svg_string;
39
}
40
}
ILIAS\Data\SVG
Data transfer object that carries the raw SVG data as a string, created from trusted sources.
Definition:
SVG.php:30
ILIAS\Data\SVG\__construct
__construct(protected string $raw_svg_string,)
Definition:
SVG.php:31
ILIAS\Data\SVG\__toString
__toString()
Definition:
SVG.php:36
Stringable
ILIAS\Data
Definition:
Alphanumeric.php:25
components
ILIAS
Data
src
SVG.php
Generated on Wed Jun 3 2026 23:04:35 for ILIAS by
1.9.4 (using
Doxyfile
)