diff --git a/l18n b/l18n index d2638c6..e55a8ca 160000 --- a/l18n +++ b/l18n @@ -1 +1 @@ -Subproject commit d2638c6f91395dc32c8b65ca68a3ae7bcac3b3e0 +Subproject commit e55a8ca121a91aa50a2cc7fdade1e97a588ce114 diff --git a/src/enums/MDProcessType.php b/src/enums/MDProcessType.php index a37b73c..f31414e 100644 --- a/src/enums/MDProcessType.php +++ b/src/enums/MDProcessType.php @@ -118,4 +118,21 @@ enum MDProcessType implements MDValueEnumInterface, JsonSerializable { return $this->name; } + + /** + * Determines if there is a dedicated data type for the present process type in md. + * + * @return boolean + */ + public function hasOwnProcessType():bool { + + return match ($this) { + self::exhibition => true, + self::appointment => true, + self::loan_incoming => true, + self::loan_outgoing => true, + default => false, + }; + + } }