diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-01-25 13:50:23 +0100 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-01-26 22:13:26 +0100 |
commit | cc38bf550b6d044938532d96a98dd92767e69b61 (patch) | |
tree | 8f3bbb07b5c41753b271da12214c28282e0411e6 /tests/mock/phpbb_di_container_builder.php | |
parent | 56062a2635551c29b1b983e000f0d1ee6a482fb9 (diff) | |
download | forums-cc38bf550b6d044938532d96a98dd92767e69b61.tar forums-cc38bf550b6d044938532d96a98dd92767e69b61.tar.gz forums-cc38bf550b6d044938532d96a98dd92767e69b61.tar.bz2 forums-cc38bf550b6d044938532d96a98dd92767e69b61.tar.xz forums-cc38bf550b6d044938532d96a98dd92767e69b61.zip |
[ticket/14129] Caches extensions autoloaders
PHPBB3-14129
Diffstat (limited to 'tests/mock/phpbb_di_container_builder.php')
-rw-r--r-- | tests/mock/phpbb_di_container_builder.php | 10 |
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; + } } |