File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,17 @@ public function __construct(array $info)
2727 $ this ->info = $ info ;
2828 }
2929
30+ /**
31+ * Return the collection info as an array.
32+ *
33+ * @see http://php.net/oop5.magic#language.oop5.magic.debuginfo
34+ * @return array
35+ */
36+ public function __debugInfo ()
37+ {
38+ return $ this ->info ;
39+ }
40+
3041 /**
3142 * Return the maximum number of documents to keep in the capped collection.
3243 *
@@ -76,15 +87,4 @@ public function isCapped()
7687 {
7788 return ! empty ($ this ->info ['options ' ]['capped ' ]);
7889 }
79-
80- /**
81- * Return the collection info as an array.
82- *
83- * @see http://php.net/oop5.magic#language.oop5.magic.debuginfo
84- * @return array
85- */
86- public function __debugInfo ()
87- {
88- return $ this ->info ;
89- }
9090}
You can’t perform that action at this time.
0 commit comments