Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769524
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/includes/ObjectDeserializable.php b/includes/ObjectDeserializable.php
index 93c8377..78ad275 100644
--- a/includes/ObjectDeserializable.php
+++ b/includes/ObjectDeserializable.php
@@ -1,45 +1,45 @@
<?php
/**
* _, __, _, _ __, _ _, _, _
* / \ |_) (_ | | \ | /_\ |\ |
* \ / |_) , ) | |_/ | | | | \|
* ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
*
- * ObjectDeserializable interface
+ * ObjectDeserializable and ObjectDeserializableWithContext interfaces
*
* @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);
}
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Nov 25, 15:17 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260453
Default Alt Text
(1 KB)
Attached To
Mode
rOBSIDIAN Obsidian Workspaces
Attached
Detach File
Event Timeline
Log In to Comment