added jsonserializable interface / trait
This commit is contained in:
12
core/General/JsonSerializable.php
Normal file
12
core/General/JsonSerializable.php
Normal 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();
|
||||
}
|
Reference in New Issue
Block a user