[ticket/12775] Fix doc blocks in the container builder

PHPBB3-12775
This commit is contained in:
Tristan Darricau 2014-06-30 00:51:28 +02:00
parent d226a73111
commit 35c0b6d77a

View file

@ -42,42 +42,42 @@ class container_builder
protected $installed_exts = null; protected $installed_exts = null;
/** /**
* Indicates if the php config file should be injecting into the container (default to true). * Indicates whether the php config file should be injected into the container (default to true).
* *
* @var bool * @var bool
*/ */
protected $inject_config = true; protected $inject_config = true;
/** /**
* Indicates if the extensions should be used (default to true). * Indicates whether extensions should be used (default to true).
* *
* @var bool * @var bool
*/ */
protected $use_extensions = true; protected $use_extensions = true;
/** /**
* Defines a custom path to find the configuration of the container. * Defines a custom path to find the configuration of the container (default to $this->phpbb_root_path . 'config')
* *
* @var string * @var string
*/ */
protected $config_path = null; protected $config_path = null;
/** /**
* Indicates if the phpBB compile pass have to be used (default to true). * Indicates whether the phpBB compile pass should be used (default to true).
* *
* @var bool * @var bool
*/ */
protected $use_custom_pass = true; protected $use_custom_pass = true;
/** /**
* Indicates if the kernel compile pass have to be used (default to true). * Indicates whether the kernel compile pass should be used (default to true).
* *
* @var bool * @var bool
*/ */
protected $use_kernel_pass = true; protected $use_kernel_pass = true;
/** /**
* Indicates if a dump container should be used (default to true). * Indicates whether the container should be dumped to the filesystem (default to true).
* *
* If DEBUG_CONTAINER is set this option is ignored and a new container is build. * If DEBUG_CONTAINER is set this option is ignored and a new container is build.
* *
@ -105,16 +105,21 @@ class container_builder
*/ */
protected $custom_parameters = null; protected $custom_parameters = null;
/**
* @var \phpbb\config_php_file
*/
protected $config_php_file;
/** /**
* Constructor * Constructor
* *
* @param \phpbb\config_php_file $config_php_handler * @param \phpbb\config_php_file $config_php_file
* @param string $phpbb_root_path Path to the phpbb includes directory. * @param string $phpbb_root_path Path to the phpbb includes directory.
* @param string $php_ext php file extension * @param string $php_ext php file extension
*/ */
function __construct(\phpbb\config_php_file $config_php_handler, $phpbb_root_path, $php_ext) function __construct(\phpbb\config_php_file $config_php_file, $phpbb_root_path, $php_ext)
{ {
$this->config_php_handler = $config_php_handler; $this->config_php_file = $config_php_file;
$this->phpbb_root_path = $phpbb_root_path; $this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext; $this->php_ext = $php_ext;
} }