From 023af6fa0e50f3346eff83da681cb303458e6158 Mon Sep 17 00:00:00 2001 From: Zauberfisch Date: Wed, 23 Jun 2021 04:21:14 +0200 Subject: [PATCH] Added ClassName() to AbstractDataObject --- src/AbstractDataObject.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/AbstractDataObject.php b/src/AbstractDataObject.php index 7b073c4..96757b6 100644 --- a/src/AbstractDataObject.php +++ b/src/AbstractDataObject.php @@ -254,8 +254,11 @@ public function provideI18nEntities() { public function __toString() { return Serializer::serialize($this); } - - + + public function ClassName() { + return get_class($this); + } + /** * Process tri-state responses from permission-alterting extensions. The extensions are * expected to return one of three values: