Mongolid\Cursor\CacheableCursor::serialize PHP 메소드

serialize() 공개 메소드

Serializes this object. Drops the unserializable DriverCursor. In order to make the CacheableCursor object serializable.
public serialize ( ) : string
리턴 string Serialized object.
    public function serialize()
    {
        $this->documents = $this->cursor = null;
        return parent::serialize();
    }