class container_builder
Methods
|
__construct(config_php_file $config_php_file, string $phpbb_root_path, string $php_ext)
Constructor |
||
| phpbb_cache_container|ContainerBuilder |
get_container()
Build and return a new Container respecting the current configuration |
|
|
set_use_extensions(bool $use_extensions)
Set if the extensions should be used. |
||
|
set_use_custom_pass(bool $use_custom_pass)
Set if the phpBB compile pass have to be used. |
||
|
set_use_kernel_pass(bool $use_kernel_pass)
Set if the kernel compile pass have to be used. |
||
|
set_inject_config(bool $inject_config)
Set if the php config file should be injecting into the container. |
||
|
set_dump_container($dump_container)
Set if a dump container should be used. |
||
|
set_compile_container($compile_container)
Set if the container should be compiled automatically (default to true). |
||
|
set_config_path(string $config_path)
Set a custom path to find the configuration of the container |
||
|
set_custom_parameters(array $custom_parameters)
Set custom parameters to inject into the container. |
Details
at line 121
public
__construct(config_php_file $config_php_file, string $phpbb_root_path, string $php_ext)
Constructor
at line 133
public phpbb_cache_container|ContainerBuilder
get_container()
Build and return a new Container respecting the current configuration
at line 202
public
set_use_extensions(bool $use_extensions)
Set if the extensions should be used.
at line 212
public
set_use_custom_pass(bool $use_custom_pass)
Set if the phpBB compile pass have to be used.
at line 222
public
set_use_kernel_pass(bool $use_kernel_pass)
Set if the kernel compile pass have to be used.
at line 232
public
set_inject_config(bool $inject_config)
Set if the php config file should be injecting into the container.
at line 244
public
set_dump_container($dump_container)
Set if a dump container should be used.
If DEBUG_CONTAINER is set this option is ignored and a new container is build.
at line 254
public
set_compile_container($compile_container)
Set if the container should be compiled automatically (default to true).
at line 264
public
set_config_path(string $config_path)
Set a custom path to find the configuration of the container
at line 274
public
set_custom_parameters(array $custom_parameters)
Set custom parameters to inject into the container.