@@ -17,13 +17,13 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | interface JsonWpOptionSerializableInterface extends JsonSerializableAndUnserializable |
| 19 | 19 | { |
| 20 | - /** |
|
| 21 | - * Gets the value to use for wp_options.option_name. Note this is not static, so it can use object properties to |
|
| 22 | - * determine what option name to use. |
|
| 23 | - * @since $VID:$ |
|
| 24 | - * @return string |
|
| 25 | - */ |
|
| 26 | - public function getWpOptionName(); |
|
| 20 | + /** |
|
| 21 | + * Gets the value to use for wp_options.option_name. Note this is not static, so it can use object properties to |
|
| 22 | + * determine what option name to use. |
|
| 23 | + * @since $VID:$ |
|
| 24 | + * @return string |
|
| 25 | + */ |
|
| 26 | + public function getWpOptionName(); |
|
| 27 | 27 | } |
| 28 | 28 | // End of file JsonWpOptionSerializableInterface.php |
| 29 | 29 | // Location: EventEspresso\core\services\options/JsonWpOptionSerializableInterface.php |
@@ -15,21 +15,21 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | interface JsonSerializableAndUnserializable |
| 17 | 17 | { |
| 18 | - /** |
|
| 19 | - * Creates a simple PHP array or stdClass from this object's properties, which can be easily serialized using |
|
| 20 | - * wp_json_serialize(). |
|
| 21 | - * @since $VID:$ |
|
| 22 | - * @return mixed |
|
| 23 | - */ |
|
| 24 | - public function toJsonSerializableData(); |
|
| 18 | + /** |
|
| 19 | + * Creates a simple PHP array or stdClass from this object's properties, which can be easily serialized using |
|
| 20 | + * wp_json_serialize(). |
|
| 21 | + * @since $VID:$ |
|
| 22 | + * @return mixed |
|
| 23 | + */ |
|
| 24 | + public function toJsonSerializableData(); |
|
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Initializes this object from data |
|
| 28 | - * @since $VID:$ |
|
| 29 | - * @param mixed $data |
|
| 30 | - * @return boolean success |
|
| 31 | - */ |
|
| 32 | - public function fromJsonSerializedData($data); |
|
| 26 | + /** |
|
| 27 | + * Initializes this object from data |
|
| 28 | + * @since $VID:$ |
|
| 29 | + * @param mixed $data |
|
| 30 | + * @return boolean success |
|
| 31 | + */ |
|
| 32 | + public function fromJsonSerializedData($data); |
|
| 33 | 33 | |
| 34 | 34 | } |
| 35 | 35 | // End of file JsonSerializableAndUnserializable.php |