[BUGFIX] Fix serializable object creation with PHP 5.6
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Object / Container / Fixtures / Testclasses.php
index 274cae8..7c67c44 100644 (file)
@@ -130,6 +130,14 @@ interface t3lib_object_tests_someinterface extends \TYPO3\CMS\Core\SingletonInte
 
 }
 
+/**
+ * Test class D implementing Serializable
+ */
+class t3lib_object_tests_serializable implements \Serializable {
+       public function serialize() {}
+       public function unserialize($s) {}
+}
+
 /**
  * class which implements a Interface
  */