Skip to content

Commit bd7ac9d

Browse files
committed
Revert "Merge pull request #522"
This reverts commit 86ce1b5, reversing changes made to b7c4df4.
1 parent 86ce1b5 commit bd7ac9d

15 files changed

+0
-272
lines changed

source/reference/method/MongoDBModelCollectionInfo-getCappedMax.txt

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,6 @@ Return Values
2828
The document limit for the capped collection. If the collection is not capped,
2929
``null`` will be returned.
3030

31-
Examples
32-
--------
33-
34-
.. code-block:: php
35-
36-
<?php
37-
38-
$info = new CollectionInfo([
39-
'name' => 'foo',
40-
'options' => [
41-
'capped' => true,
42-
'size' => 1048576,
43-
'max' => 100,
44-
]
45-
]);
46-
47-
var_dump($info->getCappedMax());
48-
49-
The output would then resemble::
50-
51-
int(100)
52-
5331
See Also
5432
--------
5533

source/reference/method/MongoDBModelCollectionInfo-getCappedSize.txt

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,6 @@ Return Values
2929
The size limit for the capped collection in bytes. If the collection is not
3030
capped, ``null`` will be returned.
3131

32-
Examples
33-
--------
34-
35-
.. code-block:: php
36-
37-
<?php
38-
39-
$info = new CollectionInfo([
40-
'name' => 'foo',
41-
'options' => [
42-
'capped' => true,
43-
'size' => 1048576,
44-
]
45-
]);
46-
47-
var_dump($info->getCappedSize());
48-
49-
The output would then resemble::
50-
51-
int(1048576)
52-
5332
See Also
5433
--------
5534

source/reference/method/MongoDBModelCollectionInfo-getName.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,6 @@ Return Values
2626

2727
The collection name.
2828

29-
Examples
30-
--------
31-
32-
.. code-block:: php
33-
34-
<?php
35-
36-
$info = new CollectionInfo(['name' => 'foo']);
37-
38-
echo $info->getName();
39-
40-
The output would then resemble::
41-
42-
foo
43-
4429
See Also
4530
--------
4631

source/reference/method/MongoDBModelCollectionInfo-getOptions.txt

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,6 @@ Return Values
2828

2929
The collection options.
3030

31-
Examples
32-
--------
33-
34-
.. code-block:: php
35-
36-
<?php
37-
38-
$info = new CollectionInfo([
39-
'name' => 'foo',
40-
'options' => [
41-
'capped' => true,
42-
'size' => 1048576,
43-
]
44-
]);
45-
46-
var_dump($info->getOptions());
47-
48-
The output would then resemble::
49-
50-
array(2) {
51-
["capped"]=>
52-
bool(true)
53-
["size"]=>
54-
int(1048576)
55-
}
56-
5731
See Also
5832
--------
5933

source/reference/method/MongoDBModelCollectionInfo-isCapped.txt

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,6 @@ Return Values
2727

2828
A boolean indicating whether the collection is a capped collection.
2929

30-
Examples
31-
--------
32-
33-
.. code-block:: php
34-
35-
<?php
36-
37-
$info = new CollectionInfo([
38-
'name' => 'foo',
39-
'options' => [
40-
'capped' => true,
41-
'size' => 1048576,
42-
]
43-
]);
44-
45-
var_dump($info->isCapped());
46-
47-
The output would then resemble::
48-
49-
bool(true)
50-
5130
See Also
5231
--------
5332

source/reference/method/MongoDBModelDatabaseInfo-getName.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,6 @@ Return Values
2626

2727
The database name.
2828

29-
Examples
30-
--------
31-
32-
.. code-block:: php
33-
34-
<?php
35-
36-
$info = new DatabaseInfo(['name' => 'foo']);
37-
38-
echo $info->getName();
39-
40-
The output would then resemble::
41-
42-
foo
43-
4429
See Also
4530
--------
4631

source/reference/method/MongoDBModelDatabaseInfo-getSizeOnDisk.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,6 @@ Return Values
2626

2727
The total size of the database file on disk in bytes.
2828

29-
Examples
30-
--------
31-
32-
.. code-block:: php
33-
34-
<?php
35-
36-
$info = new DatabaseInfo(['sizeOnDisk' => 1048576]);
37-
38-
var_dump($info->getSizeOnDisk());
39-
40-
The output would then resemble::
41-
42-
int(1048576)
43-
4429
See Also
4530
--------
4631

source/reference/method/MongoDBModelDatabaseInfo-isEmpty.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,6 @@ Return Values
2626

2727
A boolean indicating whether the database has any data.
2828

29-
Examples
30-
--------
31-
32-
.. code-block:: php
33-
34-
<?php
35-
36-
$info = new DatabaseInfo(['empty' => true]);
37-
38-
var_dump($info->isEmpty());
39-
40-
The output would then resemble::
41-
42-
bool(true)
43-
4429
See Also
4530
--------
4631

source/reference/method/MongoDBModelIndexInfo-getKey.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,6 @@ Return Values
2828

2929
The index specification as an associative array.
3030

31-
Examples
32-
--------
33-
34-
.. code-block:: php
35-
36-
<?php
37-
38-
$info = new IndexInfo([
39-
'key' => ['x' => 1],
40-
]);
41-
42-
var_dump($info->getKey());
43-
44-
The output would then resemble::
45-
46-
array(1) {
47-
["x"]=>
48-
int(1)
49-
}
50-
5131
See Also
5232
--------
5333

source/reference/method/MongoDBModelIndexInfo-getName.txt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,6 @@ Return Values
2929

3030
The index name.
3131

32-
Examples
33-
--------
34-
35-
.. code-block:: php
36-
37-
<?php
38-
39-
$info = new IndexInfo([
40-
'name' => 'x_1',
41-
]);
42-
43-
echo $info->getName();
44-
45-
The output would then resemble::
46-
47-
x_1
48-
4932
See Also
5033
--------
5134

0 commit comments

Comments
 (0)