mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[ticket/12577] Docblock
PHPBB3-12577
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user