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)
27
27
$ this ->info = $ info ;
28
28
}
29
29
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
+
30
41
/**
31
42
* Return the maximum number of documents to keep in the capped collection.
32
43
*
@@ -76,15 +87,4 @@ public function isCapped()
76
87
{
77
88
return ! empty ($ this ->info ['options ' ]['capped ' ]);
78
89
}
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
- }
90
90
}
You can’t perform that action at this time.
0 commit comments