🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 06:19:40 | PHP 8.1.34
📂
/ (Root)
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
vendor
/
symfony
/
finder
/
Iterator
📍 /opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/symfony/finder/Iterator
🔄 Refresh
✏️
Editing: LazyIterator.php
Read Only
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace RectorPrefix202411\Symfony\Component\Finder\Iterator; /** * @author Jérémy Derussé <jeremy@derusse.com> * * @internal */ class LazyIterator implements \IteratorAggregate { /** * @var \Closure */ private $iteratorFactory; public function __construct(callable $iteratorFactory) { $this->iteratorFactory = \Closure::fromCallable($iteratorFactory); } public function getIterator() : \Traversable { yield from ($this->iteratorFactory)(); } }
💾 Save Changes
❌ Cancel