Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
web_io
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2/**
3 *
4 * This file is part of the phpBB Forum Software package.
5 *
6 * @copyright (c) phpBB Limited <https://www.phpbb.com>
7 * @license GNU General Public License, version 2 (GPL-2.0)
8 *
9 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14namespace phpbb\composer\io;
15
16use Composer\IO\BufferIO;
17use phpbb\language\language;
18use Symfony\Component\Console\Formatter\OutputFormatterInterface;
19use Symfony\Component\Console\Output\StreamOutput;
20
21class web_io extends BufferIO implements io_interface
22{
23    use translate_composer_trait;
24
25    /**
26     * @param language                    $language    Language object
27     * @param string                    $input        Input string
28     * @param int                        $verbosity    Verbosity level
29     * @param OutputFormatterInterface|null    $formatter    Output formatter
30     */
31    public function __construct(language $language, $input = '', $verbosity = StreamOutput::VERBOSITY_NORMAL, OutputFormatterInterface $formatter = null)
32    {
33        $this->language = $language;
34
35        parent::__construct($input, $verbosity, $formatter);
36    }
37}