Forgot to add compat interface

This commit is contained in:
Gregory Oschwald 2013-10-26 14:22:30 -07:00
parent 569043cb8f
commit bdb13d31f6

View 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();
}