Added abstract implementation for object type processors
authorMarcel Werk <burntime@woltlab.com>
Thu, 20 Oct 2011 13:20:22 +0000 (15:20 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 20 Oct 2011 13:20:22 +0000 (15:20 +0200)
wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProcessor.class.php [new file with mode: 0644]

diff --git a/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProcessor.class.php b/wcfsetup/install/files/lib/data/object/type/AbstractObjectTypeProcessor.class.php
new file mode 100644 (file)
index 0000000..49b7365
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+namespace wcf\data\object\type;
+use wcf\data\DatabaseObjectDecorator;
+use wcf\data\IDatabaseObjectProcessor;
+
+/**
+ * Provides default a implementation for object type processors.
+ *
+ * @author     Marcel Werk
+ * @copyright  2001-2011 WoltLab GmbH
+ * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package    com.woltlab.wcf
+ * @subpackage data.object.type
+ * @category   Community Framework
+ */
+abstract class AbstractObjectTypeProcessor extends DatabaseObjectDecorator implements IDatabaseObjectProcessor {
+       /**
+        * @see wcf\data\DatabaseObjectDecorator::$baseClass
+        */
+       protected static $baseClass = 'wcf\data\object\type\ObjectType';
+}