Page MenuHomeDevCentral

No OneTemporary

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

Mime Type
text/x-diff
Expires
Mon, Nov 25, 15:17 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260453
Default Alt Text
(1 KB)

Event Timeline