LMongo\Query\Cursor::toObject PHP 메소드

toObject() 공개 메소드

Get the items as an object.
public toObject ( ) : object
리턴 object
    public function toObject()
    {
        return json_decode(json_encode($this->toArray()), FALSE);
    }