Explicitly make constants of MDEventsSet public

This commit is contained in:
Joshua Ramon Enslin 2023-10-15 13:29:12 +02:00
parent 3fb3ee4edd
commit ea5a186e8f
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -11,7 +11,7 @@ declare(strict_types = 1);
*/
final class MDEventsSet extends MDValueSet {
const EVENT_IDS = [
public const EVENT_IDS = [
'1', // => Created
'2', // => Found
'3', // => Published
@ -63,26 +63,26 @@ final class MDEventsSet extends MDValueSet {
];
const EVENTS_PRODUCTION = [1, 7, 9, 10, 19, 20, 26, 27, 28, 38, 39, 48];
public const EVENTS_PRODUCTION = [1, 7, 9, 10, 19, 20, 26, 27, 28, 38, 39, 48];
// Array enthält solche Ereignisse, die nach der Herstellung passiert sein müssen
const EVENTS_POST_PRODUCTION = [2, 3, 6, 8, 11, 13, 14, 15, 32, 34, 37, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50];
public const EVENTS_POST_PRODUCTION = [2, 3, 6, 8, 11, 13, 14, 15, 32, 34, 37, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50];
// Array enthält solche Ereignisse, die vor der Herstellung passiert sein müssen
const EVENTS_PRE_PRODUCTION = [4, 12, 25, 29, 30, 31, 35];
public const EVENTS_PRE_PRODUCTION = [4, 12, 25, 29, 30, 31, 35];
// Array enthält solche Ereignisse, die sich auf Objekte beziehen, die nicht hergestellt wurden
const EVENTS_NO_PRODUCTION = [16, 21, 33];
public const EVENTS_NO_PRODUCTION = [16, 21, 33];
// Array enthält Ereignistypen, die auf Korrespondenzen hinweisen
const EVENTS_CORRESPONDENCE = [11, 13];
public const EVENTS_CORRESPONDENCE = [11, 13];
/*
* Constants for event types without places, times, actors
*/
const EVENTS_NO_TIME = [5, 22, 23, 36];
const EVENTS_NO_ACTOR = [21, 22, 24, 36];
const EVENTS_NO_PLACE = [5, 23, 24];
public const EVENTS_NO_TIME = [5, 22, 23, 36];
public const EVENTS_NO_ACTOR = [21, 22, 24, 36];
public const EVENTS_NO_PLACE = [5, 23, 24];
/**
* Gets a list of the entries in a translated version.