Ejemplo n.º 1
0
 /**
  * Initialize the internal data by converting the Cursor to an array.
  */
 public function initialize()
 {
     if ($this->initialized === false) {
         $this->data = $this->cursor->toArray();
     }
     $this->initialized = true;
 }