File modules/template_engine/components/XsdComment.class.php

Last commit: Tue Oct 13 14:55:30 2026 +0200	Jan Dankert	The XSD Generator is now able to generate XSD annotations (mean: comments), this makes editing the templates much easier :)
1 <?php 2 namespace template_engine\components; 3 4 use Attribute; 5 6 #[Attribute(Attribute::TARGET_PROPERTY|Attribute::TARGET_CLASS)] 7 class XsdComment 8 { 9 // Im Konstruktor definierst du, welche Daten das Attribut aufnehmen soll 10 public function __construct( 11 public string $comment 12 ) 13 { 14 } 15 16 } 17
Download modules/template_engine/components/XsdComment.class.php
History Tue, 13 Oct 2026 14:55:30 +0200 Jan Dankert The XSD Generator is now able to generate XSD annotations (mean: comments), this makes editing the templates much easier :)