mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
Revert "added useful toArray() method on Iterator"
This reverts commit 92159d1df8.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user