Revert "added useful toArray() method on Iterator"

This reverts commit 92159d1df8.
This commit is contained in:
Andy Miller
2014-12-05 10:30:02 -07:00
parent fbf09a7741
commit 2fda197eff

View File

@@ -45,16 +45,6 @@ class Iterator implements \ArrayAccess, \Iterator, \Countable, \Serializable
}
}
/**
* Return the internal array used in this Iterator
*
* @return array
*/
public function toArray()
{
return $this->items;
}
/**
* Convents iterator to a comma separated list.
*