public __construct ( phpbb\filesystem\filesystem_interface $filesystem, string $phpbb_root_path, string $php_ext, string $environment, phpbb\extension\manager $extension_manager = null, array $routing_files = [] ) | ||
$filesystem | phpbb\filesystem\filesystem_interface | Filesystem helper |
$phpbb_root_path | string | phpBB root path |
$php_ext | string | PHP file extension |
$environment | string | Name of the current environment |
$extension_manager | phpbb\extension\manager | Extension manager |
$routing_files | array | Array of strings containing paths to YAML files holding route information |
public function __construct(\phpbb\filesystem\filesystem_interface $filesystem, $phpbb_root_path, $php_ext, $environment, manager $extension_manager = null, $routing_files = array())
{
$this->filesystem = $filesystem;
$this->extension_manager = $extension_manager;
$this->routing_files = $routing_files;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;
$this->environment = $environment;
$this->context = new RequestContext();
}