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: