| [ Index ] | PHP Cross Reference of phpBB-3.1.12-deutsch | 
[Source view] [Print] [Project Stats]
This file is part of the phpBB Forum Software package.
| Copyright: | (c) phpBB Limited | 
| License: | GNU General Public License, version 2 (GPL-2.0) | 
| File Size: | 418 lines (10 kb) | 
| Included or required: | 0 times | 
| Referenced: | 0 times | 
| Includes or requires: | 0 files | 
container_builder:: (18 methods):
  __construct()
  get_container()
  set_use_extensions()
  set_use_custom_pass()
  set_use_kernel_pass()
  set_inject_config()
  set_dump_container()
  set_compile_container()
  set_config_path()
  set_custom_parameters()
  dump_container()
  inject_dbal()
  inject_dbal_driver()
  get_dbal_connection()
  get_installed_extensions()
  create_container()
  inject_custom_parameters()
  get_container_filename()
Class: container_builder - X-Ref
| __construct(\phpbb\config_php_file $config_php_file, $phpbb_root_path, $php_ext) X-Ref | 
| Constructor param: \phpbb\config_php_file $config_php_file param: string $phpbb_root_path Path to the phpbb includes directory. param: string $php_ext php file extension | 
| get_container() X-Ref | 
| Build and return a new Container respecting the current configuration return: \phpbb_cache_container|ContainerBuilder | 
| set_use_extensions($use_extensions) X-Ref | 
| Set if the extensions should be used. param: bool $use_extensions | 
| set_use_custom_pass($use_custom_pass) X-Ref | 
| Set if the phpBB compile pass have to be used. param: bool $use_custom_pass | 
| set_use_kernel_pass($use_kernel_pass) X-Ref | 
| Set if the kernel compile pass have to be used. param: bool $use_kernel_pass | 
| set_inject_config($inject_config) X-Ref | 
| Set if the php config file should be injecting into the container. param: bool $inject_config | 
| set_dump_container($dump_container) X-Ref | 
| Set if a dump container should be used. If DEBUG_CONTAINER is set this option is ignored and a new container is build. | 
| set_compile_container($compile_container) X-Ref | 
| Set if the container should be compiled automatically (default to true). | 
| set_config_path($config_path) X-Ref | 
| Set a custom path to find the configuration of the container param: string $config_path | 
| set_custom_parameters($custom_parameters) X-Ref | 
| Set custom parameters to inject into the container. param: array $custom_parameters | 
| dump_container($container_filename) X-Ref | 
| Dump the container to the disk. param: string $container_filename The name of the file. | 
| inject_dbal() X-Ref | 
| Inject the connection into the container if one was opened. | 
| inject_dbal_driver() X-Ref | 
| Inject the dbal connection driver into container | 
| get_dbal_connection() X-Ref | 
| Get DB connection. return: \phpbb\db\driver\driver_interface | 
| get_installed_extensions() X-Ref | 
| Get enabled extensions. return: array enabled extensions | 
| create_container(array $extensions) X-Ref | 
| Create the ContainerBuilder object param: array $extensions Array of Container extension objects return: ContainerBuilder object | 
| inject_custom_parameters() X-Ref | 
| Inject the customs parameters into the container | 
| get_container_filename() X-Ref | 
| Get the filename under which the dumped container will be stored. return: string Path for dumped container | 
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |