Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
3 / 3 |
|
100.00% |
3 / 3 |
CRAP | |
100.00% |
1 / 1 |
| phpbb_mock_phpbb_di_container_builder | |
100.00% |
3 / 3 |
|
100.00% |
3 / 3 |
3 | |
100.00% |
1 / 1 |
| get_container_filename | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| get_autoload_filename | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| inject_dbal_driver | |
100.00% |
1 / 1 |
|
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 | |
| 14 | class phpbb_mock_phpbb_di_container_builder extends \phpbb\di\container_builder |
| 15 | { |
| 16 | protected function get_container_filename() |
| 17 | { |
| 18 | return $this->phpbb_root_path . '../../tmp/container.' . $this->php_ext; |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * Get the filename under which the dumped extensions autoloader will be stored. |
| 23 | * |
| 24 | * @return string Path for dumped extensions autoloader |
| 25 | */ |
| 26 | protected function get_autoload_filename() |
| 27 | { |
| 28 | return $this->phpbb_root_path . '../../tmp/autoload.' . $this->php_ext; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * {@inheritdoc} |
| 33 | */ |
| 34 | protected function inject_dbal_driver() |
| 35 | { |
| 36 | return; |
| 37 | } |
| 38 | } |