ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
ILIAS\Data\SVG Class Reference

Data transfer object that carries the raw SVG data as a string, created from trusted sources. More...

+ Inheritance diagram for ILIAS\Data\SVG:
+ Collaboration diagram for ILIAS\Data\SVG:

Public Member Functions

 __construct (protected string $raw_svg_string,)
 
 __toString ()
 

Detailed Description

Data transfer object that carries the raw SVG data as a string, created from trusted sources.

This object is merely a type as a mean to talk about SVG's and pass them between different layers of the system, it does not validate whether the SVG is valid or not.

Definition at line 29 of file SVG.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\SVG::__construct ( protected string  $raw_svg_string)

Definition at line 31 of file SVG.php.

33 {
34 }

Member Function Documentation

◆ __toString()

ILIAS\Data\SVG::__toString ( )

Definition at line 36 of file SVG.php.

36 : string
37 {
38 return $this->raw_svg_string;
39 }

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