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

__construct() 공개 메소드

Constructor, sets the cursor
public __construct ( MongoCursor $cursor )
$cursor MongoCursor
    public function __construct($cursor)
    {
        $this->cursor = $cursor;
    }