LMongo\Query\Cursor::__toString PHP Méthode

__toString() public méthode

Convert the cursor to string.
public __toString ( ) : string
Résultat string
    public function __toString()
    {
        return $this->toJson();
    }