ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Setup\Artifact\XMLArtifact Class Reference
+ Inheritance diagram for ILIAS\Setup\Artifact\XMLArtifact:
+ Collaboration diagram for ILIAS\Setup\Artifact\XMLArtifact:

Public Member Functions

 __construct (private \SimpleXMLElement $xml)
 
 serialize ()
 This method will be called from the source, which wants to save the artifact. More...
 
 serialize ()
 This method will be called from the source, which wants to save the artifact. More...
 

Detailed Description

Definition at line 25 of file XMLArtifact.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Setup\Artifact\XMLArtifact::__construct ( private \SimpleXMLElement  $xml)

Definition at line 27 of file XMLArtifact.php.

29 {
30 }

Member Function Documentation

◆ serialize()

ILIAS\Setup\Artifact\XMLArtifact::serialize ( )
final

This method will be called from the source, which wants to save the artifact.

Implements ILIAS\Setup\Artifact.

Definition at line 32 of file XMLArtifact.php.

32 : string
33 {
34 $dom = dom_import_simplexml($this->xml)->ownerDocument;
35 $dom->formatOutput = true;
36 return $dom->saveXML();
37 }

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