Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Imbo
Helpers
BSONToArray
PHP Class Imbo\Helpers\BSONToArray
Author:
Christer Edvartsen (
[email protected]
)
Datei anzeigen
Open project: imbo/imbo
Class Usage Examples
Public Methods
Method
Description
toArray
(
array
| MongoDB\Model\BSONDocument | MongoDB\Model\BSONArray
$document
) :
mixed
Convert to array, recursively
Private Methods
Method
Description
isBSONModel
(
mixed
$value
) :
boolean
Check if the value is a valid BSON model
Method Details
toArray()
public
method
Convert to array, recursively
public
toArray
(
array
| MongoDB\Model\BSONDocument | MongoDB\Model\BSONArray
$document
) :
mixed
$document
array
| MongoDB\Model\BSONDocument | MongoDB\Model\BSONArray
return
mixed