added jsonserializable interface / trait

This commit is contained in:
kremsy committed 2017-04-04 19:40:31 +02:00
1 parent 738c7a134c
commit 527c37d006
12 files changed
+63 -13

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
<?php
namespace ManiaControl\General;
/**
* Object implementing this Interface has a toJson() Method
*
* @package ManiaControl\General
*/
interface JsonSerializable {
public function toJson();
}