From f4320a7089e751ea2d61af8b36abecc8a2cab5e4 Mon Sep 17 00:00:00 2001 From: Cerys Lewis Date: Fri, 29 Nov 2024 13:06:13 +0000 Subject: [PATCH] started work on the "Organisation" schema --- Examples/Schemas/Organisation.php | 101 +++++++++++++++++++++ src/Interfaces/SchemaDocumentInterface.php | 8 ++ 2 files changed, 109 insertions(+) create mode 100644 Examples/Schemas/Organisation.php create mode 100644 src/Interfaces/SchemaDocumentInterface.php diff --git a/Examples/Schemas/Organisation.php b/Examples/Schemas/Organisation.php new file mode 100644 index 0000000..b374a54 --- /dev/null +++ b/Examples/Schemas/Organisation.php @@ -0,0 +1,101 @@ +Name = $data["name"]; + $this->Departments = $data["departments"]; + $this->Cases = $data["cases"]; + $this->Staff = $data["staff"]; + } +} diff --git a/src/Interfaces/SchemaDocumentInterface.php b/src/Interfaces/SchemaDocumentInterface.php new file mode 100644 index 0000000..6507358 --- /dev/null +++ b/src/Interfaces/SchemaDocumentInterface.php @@ -0,0 +1,8 @@ +