Exemplo n.º 1
0
 /**
  * Gets the current Model object in the collection
  * This is where the hydration takes place.
  *
  * @see ObjectFormatter::getAllObjectsFromRow()
  *
  * @return ActiveRecordInterface
  */
 public function current()
 {
     return $this->formatter->getAllObjectsFromRow($this->currentRow);
 }