lib/Doctrine/MongoDB/EagerCursor.php
public function initialize()
    {
        if ($this->initialized === false) {
            $this->data = $this->cursor->toArray();
        }
        $this->initialized = true;
    }
public function initialize()
    {
        if ($this->initialized === false) {
            $this->data = $this->cursor->toArray();
        }
        $this->initialized = true;
    }
public function initialize ( ) { if ( $ this -> initialized === false ) { $ this -> data = $ this -> cursor -> toArray ( ) ; } $ this -> initialized = true ; }
Initialize the internal data by converting the Cursor to an array.
Initialize the internal data by converting the Cursor to an array .