1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 07:21:30 +02:00

Merge pull request #4142 from Nicofuma/ticket/14129

[ticket/14129] Caches extensions autoloaders
This commit is contained in:
Marc Alexander
2016-01-27 10:44:47 +01:00
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;
}
}