From 76cf239d88f11d2131a3ec579daa4d5ecd0bd1dd Mon Sep 17 00:00:00 2001 From: Cerys Date: Fri, 7 Jun 2024 16:04:41 +0100 Subject: [PATCH] created the base for the Attribute classes --- .../Attributes/SchemaDocument.php | 27 +++++++++++++++++ .../Attributes/SchemaDocumentField.php | 30 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 src/SchemaBuilder/Attributes/SchemaDocument.php create mode 100644 src/SchemaBuilder/Attributes/SchemaDocumentField.php diff --git a/src/SchemaBuilder/Attributes/SchemaDocument.php b/src/SchemaBuilder/Attributes/SchemaDocument.php new file mode 100644 index 0000000..b49adeb --- /dev/null +++ b/src/SchemaBuilder/Attributes/SchemaDocument.php @@ -0,0 +1,27 @@ +MaximumSize = $maxSize; + $this->Comment = $comment; + $this->MIMEType = $mimeType; + parent::__construct("SchemaDocument", [], []); + } +} diff --git a/src/SchemaBuilder/Attributes/SchemaDocumentField.php b/src/SchemaBuilder/Attributes/SchemaDocumentField.php new file mode 100644 index 0000000..c02926a --- /dev/null +++ b/src/SchemaBuilder/Attributes/SchemaDocumentField.php @@ -0,0 +1,30 @@ +Existence = $existence; + $this->Comment = $comment; + $this->ValidSchemas = $validSchemas; + parent::__construct("SchemaDocumentField", [], []); + } + +}