From fa593c4be19447f9180cb6fc85c8f113b290c329 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Thu, 25 Mar 2021 13:51:35 +0100 Subject: [PATCH] Add controlled list of data history subjects Close #3 --- src/MDDataHistorySubjectsSet.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/MDDataHistorySubjectsSet.php diff --git a/src/MDDataHistorySubjectsSet.php b/src/MDDataHistorySubjectsSet.php new file mode 100644 index 0000000..730820e --- /dev/null +++ b/src/MDDataHistorySubjectsSet.php @@ -0,0 +1,30 @@ + + */ +declare(strict_types = 1); + +/** + * Class containing available options for data history subjects. + */ +final class MDDataHistorySubjectsSet extends MDValueSet { + + const AVAILABLE_SUBJECTS = [ + 'appointment', + 'collection', + 'contact', + 'exhibition', + 'literature', + 'loan', + 'museum', + 'object', + 'podcast', + 'podcast_episode', + 'sammlung', + 'series', + 'user', + ]; + +}