1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/14129] Caches extensions autoloaders

PHPBB3-14129
This commit is contained in:
Tristan Darricau
2016-01-25 13:50:23 +01:00
parent 56062a2635
commit cc38bf550b
3 changed files with 41 additions and 1 deletions

View File

@@ -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;
}
}