Commit 88739b88 authored by Jeremy Mikola's avatar Jeremy Mikola

Update doc blocks for ChangeStream iterator

parent c1dbcf8b
...@@ -27,10 +27,10 @@ use IteratorIterator; ...@@ -27,10 +27,10 @@ use IteratorIterator;
use Iterator; use Iterator;
/** /**
* Iterator for the changeStream command. * Iterator for a change stream.
* *
* @api * @api
* @see \MongoDB\Collection::changeStream() * @see \MongoDB\Collection::watch()
* @see http://docs.mongodb.org/manual/reference/command/changeStream/ * @see http://docs.mongodb.org/manual/reference/command/changeStream/
*/ */
class ChangeStream implements Iterator class ChangeStream implements Iterator
...@@ -43,6 +43,9 @@ class ChangeStream implements Iterator ...@@ -43,6 +43,9 @@ class ChangeStream implements Iterator
const CURSOR_NOT_FOUND = 43; const CURSOR_NOT_FOUND = 43;
/** /**
* Constructor.
*
* @internal
* @param Cursor $cursor * @param Cursor $cursor
* @param callable $resumeCallable * @param callable $resumeCallable
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment