Forgot to add compat interface
This commit is contained in:
parent
569043cb8f
commit
bdb13d31f6
13
compat/JsonSerializable.php
Normal file
13
compat/JsonSerializable.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* This interface exists to provide backwards compatibility with PHP 5.3
|
||||
*/
|
||||
interface JsonSerializable
|
||||
{
|
||||
/**
|
||||
* Returns data that can be serialized by json_encode
|
||||
*
|
||||
*/
|
||||
public function jsonSerialize();
|
||||
}
|
Loading…
Reference in New Issue
Block a user