aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-01-27 10:44:47 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-27 10:44:47 +0100
commitb8b419704c509c62c8008f28521d7eb54d262360 (patch)
tree35e48a7d05bcc6d9a16aac1d2267584e99090491 /tests
parentad914a68807e3bf3335614a09414635eb932f147 (diff)
parentcc38bf550b6d044938532d96a98dd92767e69b61 (diff)
downloadforums-b8b419704c509c62c8008f28521d7eb54d262360.tar
forums-b8b419704c509c62c8008f28521d7eb54d262360.tar.gz
forums-b8b419704c509c62c8008f28521d7eb54d262360.tar.bz2
forums-b8b419704c509c62c8008f28521d7eb54d262360.tar.xz
forums-b8b419704c509c62c8008f28521d7eb54d262360.zip
Merge pull request #4142 from Nicofuma/ticket/14129
[ticket/14129] Caches extensions autoloaders
Diffstat (limited to 'tests')
-rw-r--r--tests/mock/phpbb_di_container_builder.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/mock/phpbb_di_container_builder.php b/tests/mock/phpbb_di_container_builder.php
index 59cdf0bb2b..23dc3d1e8b 100644
--- a/tests/mock/phpbb_di_container_builder.php
+++ b/tests/mock/phpbb_di_container_builder.php
@@ -17,4 +17,14 @@ class phpbb_mock_phpbb_di_container_builder extends \phpbb\di\container_builder
{
return $this->phpbb_root_path . '../../tmp/container.' . $this->php_ext;
}
+
+ /**
+ * Get the filename under which the dumped extensions autoloader will be stored.
+ *
+ * @return string Path for dumped extensions autoloader
+ */
+ protected function get_autoload_filename()
+ {
+ return $this->phpbb_root_path . '../../tmp/autoload.' . $this->php_ext;
+ }
}