Imbo\Helpers\BSONToArray::isBSONModel PHP Method

isBSONModel() private method

Check if the value is a valid BSON model
private isBSONModel ( mixed $value ) : boolean
$value mixed
return boolean
    private function isBSONModel($value)
    {
        return $value instanceof BSONDocument || $value instanceof BSONArray;
    }