Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F6562659
ObjectDeserializable.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
ObjectDeserializable.php
View Options
<?php
/**
* _, __, _, _ __, _ _, _, _
* / \ |_) (_ | | \ | /_\ |\ |
* \ / |_) , ) | |_/ | | | | \|
* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
*
* ObjectDeserializable interface
*
* @package ObsidianWorkspaces
* @subpackage Keruald
* @author Sébastien Santoro aka Dereckson <dereckson@espace-win.org>
* @license http://www.opensource.org/licenses/bsd-license.php BSD
* @filesource
*
*/
/**
* ObjectDeserializable interface
*/
interface
ObjectDeserializable
{
/**
* Loads a specified class instance from a generic object. Typically used to deserialize a JSON document.
*
* @param object $data The object to deserialize
* @return object The deserialized instance
*/
public
static
function
loadFromObject
(
$data
);
}
/**
* ObjectDeserializableWithContext interface
*/
interface
ObjectDeserializableWithContext
{
/**
* Loads a specified class instance from a generic object. Typically used to deserialize a JSON document.
*
* @param object $data The object to deserialize
* @param object $context The site or application context
* @return object The deserialized instance
*/
public
static
function
loadFromObject
(
$data
,
$context
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Apr 2, 18:18 (12 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2535301
Default Alt Text
ObjectDeserializable.php (1 KB)
Attached To
Mode
rOBSIDIAN Obsidian Workspaces
Attached
Detach File
Event Timeline
Log In to Comment