Метод |
Описание |
|
__call ( string $name, array $arguments ) : mixed |
PHP magic method, which is invoked on attempt of invocation not existing method. |
|
__construct ( Collection $collection, MongoDB\Driver\Cursor $cursor ) |
Constructor. |
|
__get ( string $name ) : mixed |
PHP magic method, which is invoked on attempt of getting not existing property. |
|
__isset ( string $name ) : boolean |
PHP magic method, which is invoked on attempt of checking if a property is set. |
|
__set ( string $name, mixed $value ) |
PHP magic method, which is invoked on attempt of setting not existing property. |
|
__unset ( string $name ) |
PHP magic method, which is invoked on attempt of unsetting of property. |
|
count ( ) : integer |
Count elements of this cursor. |
|
current ( ) : mixed |
Return the current element
This method is required by the interface [[\Iterator]]. |
|
getId ( ) : MongoDB\Driver\CursorId |
Returns the ID for this cursor. |
|
setTypeMap ( array $typemap ) |
Sets a type map to use for BSON unserialization. |
|
toArray ( ) : array |
Returns an array containing all results for this cursor |
|