Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56383970
ObjectDeserializable.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
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
Sat, Nov 7, 16:08 (1 w, 17 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4110043
Default Alt Text
ObjectDeserializable.php (1 KB)
Attached To
Mode
rOBSIDIAN Obsidian Workspaces
Attached
Detach File
Event Timeline
Log In to Comment