4 * This file is part of Psy Shell.
6 * (c) 2012-2018 Justin Hileman
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
14 use Symfony\Component\Console\Output\StreamOutput;
17 * A passthrough pager is a no-op. It simply wraps a StreamOutput's stream and
18 * does nothing when the pager is closed.
20 class PassthruPager extends StreamOutput implements OutputPager
25 * @param StreamOutput $output
27 public function __construct(StreamOutput $output)
29 parent::__construct($output->getStream());
33 * Close the current pager process.
35 public function close()