Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/.././bootstrap/../vendor/egulias/../bin/../ralouphie/../ralouphie/../laravel/sanctum/../.././symfony/polyfill-uuid/../console/Helper/../Helper
الملفات الموجودة في هذا الـ Path:
.
..
DebugFormatterHelper.php
DescriptorHelper.php
Dumper.php
FormatterHelper.php
Helper.php
HelperInterface.php
HelperSet.php
InputAwareHelper.php
OutputWrapper.php
ProcessHelper.php
ProgressBar.php
ProgressIndicator.php
QuestionHelper.php
SymfonyQuestionHelper.php
Table.php
TableCell.php
TableCellStyle.php
TableRows.php
TableSeparator.php
TableStyle.php

مشاهدة ملف: TableRows.php

<?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
{
    private \Closure $generator;

    public function __construct(\Closure $generator)
    {
        $this->generator = $generator;
    }

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