MongoDB\BSON\Symbol::unserialize
(mongodb >=1.4.0)
MongoDB\BSON\Symbol::unserialize — Unserialize a Symbol
说明
final
public
MongoDB\BSON\Symbol::unserialize (
string
$serialized
) :
void
返回值
Returns the unserialized MongoDB\BSON\Symbol.
错误/异常
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
参见
- MongoDB\BSON\Symbol::serialize() - Serialize a Symbol
- unserialize() - 从已存储的表示中创建 PHP 的值
- Serializing Objects