MongoDB\BSON\Decimal128::unserialize
MongoDB\BSON\Javascript::__construct
MongoDB\BSON
PHP Manual
La classe MongoDB\BSON\Javascript
(mongodb >=1.0.0)
Introduction
Synopsis de la classe
MongoDB\BSON\Javascript
implements
MongoDB\BSON\Type
{
/* Méthodes */
final
public
__construct
(
string
$code
[,
array|object
$scope
] )
final
public
string
getCode
(
void
)
final
public
object|null
getScope
(
void
)
final
public
mixed
jsonSerialize
(
void
)
final
public
string
serialize
(
void
)
final
public
string
__toString
(
void
)
final
public
void
unserialize
(
string
$serialized
)
}
Sommaire
MongoDB\BSON\Javascript::__construct
— Construit un nouveau Javascript
MongoDB\BSON\Javascript::getCode
— Returns the Javascript's code
MongoDB\BSON\Javascript::getScope
— Returns the Javascript's scope document
MongoDB\BSON\Javascript::jsonSerialize
— Returns a representation that can be converted to JSON
MongoDB\BSON\Javascript::serialize
— Serialize a Javascript
MongoDB\BSON\Javascript::__toString
— Returns the Javascript's code
MongoDB\BSON\Javascript::unserialize
— Unserialize a Javascript
MongoDB\BSON\Decimal128::unserialize
MongoDB\BSON\Javascript::__construct
MongoDB\BSON
PHP Manual