CoreFiles by mySites.guru
TableRows.php28 lines, 536 bytes, from Joomla_6.2.0-Stable-Full_Package.zip
Raw History Compare with 6.1.4
md5
4ac3371e9982d4a105874b6606b829a8
sha1
09423d543fa01f09cbb449e6b8e2383ac6f61875
sha256
c3cb3b00f11f8b749c3b59235837ad1f2ddeb25fcac18fd4acc7c5d689eb6336
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Console\Helper;

/**
 * @internal
 */
class TableRows implements \IteratorAggregate
{
    public function __construct(
        private \Closure $generator,
    ) {
    }

    public function getIterator(): \Traversable
    {
        return ($this->generator)();
    }
}

The same content is in 48 releases, Joomla 6.0.0-beta1 to 6.2.1. See them all, or every version of this file.