[ticket/12577] Docblock

PHPBB3-12577
This commit is contained in:
Tristan Darricau 2015-09-18 19:54:06 +02:00
parent 25f5e4f18f
commit f9f7f935b4

View file

@ -49,18 +49,28 @@ class manager
*/ */
protected $config; protected $config;
/**
* @var bool Whether or not initialized() has been called
*/
private $initialized = false; private $initialized = false;
/**
* @var array Hashing driver service collection
*/
private $hashing_algorithms; private $hashing_algorithms;
/**
* @var array List of default driver types
*/
private $defaults; private $defaults;
/** /**
* Construct a passwords object * Construct a passwords object
* *
* @param \phpbb\config\config $config phpBB configuration * @param \phpbb\config\config $config phpBB configuration
* @param array $hashing_algorithms Hashing driver * @param array $hashing_algorithms Hashing driver service collection
* service collection * @param \phpbb\passwords\helper $helper Passwords helper object
* @param \phpbb\passwords\helper $helper Passwords helper object * @param array $defaults List of default driver types
* @param array $defaults List of default driver types
*/ */
public function __construct(\phpbb\config\config $config, $hashing_algorithms, helper $helper, $defaults) public function __construct(\phpbb\config\config $config, $hashing_algorithms, helper $helper, $defaults)
{ {
@ -70,6 +80,9 @@ class manager
$this->defaults = $defaults; $this->defaults = $defaults;
} }
/**
* Initialize the internal state
*/
protected function initialize() protected function initialize()
{ {
if (!$this->initialized) if (!$this->initialized)