PHP 8.3.31
Preview: PassthruPager.php Size: 809 B
/home/getspomw/royalsquad.us/vendor/psy/psysh/src/Output/PassthruPager.php

<?php

/*
 * This file is part of Psy Shell.
 *
 * (c) 2012-2023 Justin Hileman
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Psy\Output;

use Symfony\Component\Console\Output\StreamOutput;

/**
 * A passthrough pager is a no-op. It simply wraps a StreamOutput's stream and
 * does nothing when the pager is closed.
 */
class PassthruPager extends StreamOutput implements OutputPager
{
    /**
     * Constructor.
     *
     * @param StreamOutput $output
     */
    public function __construct(StreamOutput $output)
    {
        parent::__construct($output->getStream());
    }

    /**
     * Close the current pager process.
     */
    public function close()
    {
        // nothing to do here
    }
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
566 B lrw-rw-rw- 2025-09-17 06:53:37
Edit Download
809 B lrw-rw-rw- 2025-09-17 06:53:37
Edit Download
2.88 KB lrw-rw-rw- 2025-09-17 06:53:37
Edit Download
5.82 KB lrw-rw-rw- 2025-09-17 06:53:37
Edit Download
7.24 KB lrw-rw-rw- 2025-09-17 06:53:37
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).