mirror of https://github.com/flightphp/core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
437 B
18 lines
437 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* Flight: An extensible micro-framework.
|
|
*
|
|
* @copyright Copyright (c) 2011, Mike Cao <mike@mikecao.com>
|
|
* @license MIT, http://flightphp.com/license
|
|
*/
|
|
interface LegacyJsonSerializable
|
|
{
|
|
/**
|
|
* Gets the collection data which can be serialized to JSON.
|
|
* @return mixed Collection data which can be serialized by <b>json_encode</b>
|
|
*/
|
|
public function jsonSerialize();
|
|
}
|