aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/phpbb_di_container_builder.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-29 00:29:08 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-07 01:02:33 +0200
commit40937e21c58399a847d04f23423622b0e1894446 (patch)
tree02c0a67da0843f3840651629bc4a31ff9b58855f /tests/mock/phpbb_di_container_builder.php
parent11ff91c87d683d1a76ef1d5c0a9fb0c79d74cd15 (diff)
downloadforums-40937e21c58399a847d04f23423622b0e1894446.tar
forums-40937e21c58399a847d04f23423622b0e1894446.tar.gz
forums-40937e21c58399a847d04f23423622b0e1894446.tar.bz2
forums-40937e21c58399a847d04f23423622b0e1894446.tar.xz
forums-40937e21c58399a847d04f23423622b0e1894446.zip
[ticket/12775] Renamed to \phpbb\di\container_builder
PHPBB3-12775
Diffstat (limited to 'tests/mock/phpbb_di_container_builder.php')
-rw-r--r--tests/mock/phpbb_di_container_builder.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/mock/phpbb_di_container_builder.php b/tests/mock/phpbb_di_container_builder.php
new file mode 100644
index 0000000000..235fa32b26
--- /dev/null
+++ b/tests/mock/phpbb_di_container_builder.php
@@ -0,0 +1,20 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
+
+class phpbb_mock_phpbb_di_container_builder extends \phpbb\di\container_factory
+{
+ protected function get_container_filename()
+ {
+ return $this->phpbb_root_path . '../../tmp/container.' . $this->php_ext;
+ }
+}