Mongolid\Cursor\EmbeddedCursor::first PHP 메소드

first() 공개 메소드

Returns the first element of the cursor.
public first ( ) : mixed
리턴 mixed
    public function first()
    {
        $this->rewind();
        return $this->current();
    }