We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dadd6f3 commit 05a9e40Copy full SHA for 05a9e40
lib/ArangoDBClient/Document.php
@@ -19,7 +19,7 @@
19
* @package ArangoDBClient
20
* @since 0.2
21
*/
22
-class Document implements
+class Document
23
{
24
/**
25
* The document id (might be NULL for new documents)
@@ -772,17 +772,6 @@ public function getRevision()
772
return $this->_rev;
773
}
774
775
- /**
776
- * Specify data which should be serialized to JSON
777
- * @link http://php.net/manual/en/jsonserializable.jsonserialize.php
778
- * @return mixed data which can be serialized by <b>json_encode</b>,
779
- * which is a value of any type other than a resource.
780
- * @since 5.4.0
781
- */
782
- function jsonSerialize()
783
- {
784
- return $this->getAll();
785
- }
786
787
788
class_alias(Document::class, '\triagens\ArangoDb\Document');
0 commit comments