Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| command | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
2 / 2 |
|
100.00% |
1 / 1 |
1 | |||
| 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 | namespace phpbb\console\command\config; |
| 14 | |
| 15 | abstract class command extends \phpbb\console\command\command |
| 16 | { |
| 17 | /** @var \phpbb\config\config */ |
| 18 | protected $config; |
| 19 | |
| 20 | public function __construct(\phpbb\user $user, \phpbb\config\config $config) |
| 21 | { |
| 22 | $this->config = $config; |
| 23 | |
| 24 | parent::__construct($user); |
| 25 | } |
| 26 | } |