new commit

This commit is contained in:
fiqhpratama
2024-11-27 11:16:45 +07:00
parent 8435faf0e9
commit 453d9bb470
10880 changed files with 2249737 additions and 72 deletions
+28
View File
@@ -0,0 +1,28 @@
<?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 Symfony\Component\Console\Helper;
/**
* @internal
*/
class TableRows implements \IteratorAggregate
{
public function __construct(
private \Closure $generator,
) {
}
public function getIterator(): \Traversable
{
return ($this->generator)();
}
}