Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
console_io
0.00% covered (danger)
0.00%
0 / 2
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 / 2
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\ConsoleIO;
17use phpbb\language\language;
18use Symfony\Component\Console\Helper\HelperSet;
19use Symfony\Component\Console\Input\InputInterface;
20use Symfony\Component\Console\Output\OutputInterface;
21
22class console_io extends ConsoleIO implements io_interface
23{
24    use translate_composer_trait;
25
26    /**
27     * Constructor.
28     *
29     * @param InputInterface    $input        The input instance
30     * @param OutputInterface    $output        The output instance
31     * @param HelperSet            $helperSet    The helperSet instance
32     * @param language            $language    Language object
33     */
34    public function __construct(InputInterface $input, OutputInterface $output, HelperSet $helperSet, language $language)
35    {
36        $this->language = $language;
37
38        parent::__construct($input, $output, $helperSet);
39    }
40}