Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: WrapperIteratorAggregate.php
<?php class WrapperIteratorAggregate implements IteratorAggregate { /** * @var array|\Traversable */ private $baseCollection; public function __construct($baseCollection) { assert(is_array($baseCollection) || $baseCollection instanceof Traversable); $this->baseCollection = $baseCollection; } public function getIterator() { foreach ($this->baseCollection as $k => $v) { yield $k => $v; } } }