19declare(strict_types=1);
23use PHPUnit\Framework\TestCase;
34 $structurally_coupled =
new class () extends
NullReader {
38 public string $exposed;
42 $this->exposed =
'generated by StructurallyCoupled in version ' .
43 $version->value .
' from xml ' . $xml->asXML();
53 public string $exposed;
57 $this->exposed =
'generated by Legacy in version ' .
58 $version->value .
' from xml ' . $xml->asXML();
64 return new Standard($structurally_coupled, $legacy);
69 $xml =
new SimpleXMLElement(
'<some>xml</some>');
75 'generated by StructurallyCoupled in version 10.0 from xml ' . $xml->asXML(),
82 $xml =
new SimpleXMLElement(
'<some>xml</some>');
85 $set = $reader->read($xml, Version::V4_1_0);
88 'generated by Legacy in version 4.1.0 from xml ' . $xml->asXML(),
__construct()
Constructor setup ILIAS global object @access public.