aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-09-18 19:54:06 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-09-18 19:54:06 +0200
commitf9f7f935b4fe2742cd84d100be1dc03fd66919ec (patch)
tree7114f6cd126f3d2531a16ed85b7088a9861a5a80 /phpBB/phpbb/passwords
parent25f5e4f18f9aed7272b3f3f9e8647c287b689b29 (diff)
downloadforums-f9f7f935b4fe2742cd84d100be1dc03fd66919ec.tar
forums-f9f7f935b4fe2742cd84d100be1dc03fd66919ec.tar.gz
forums-f9f7f935b4fe2742cd84d100be1dc03fd66919ec.tar.bz2
forums-f9f7f935b4fe2742cd84d100be1dc03fd66919ec.tar.xz
forums-f9f7f935b4fe2742cd84d100be1dc03fd66919ec.zip
[ticket/12577] Docblock
PHPBB3-12577
Diffstat (limited to 'phpBB/phpbb/passwords')
-rw-r--r--phpBB/phpbb/passwords/manager.php23
1 files changed, 18 insertions, 5 deletions
diff --git a/phpBB/phpbb/passwords/manager.php b/phpBB/phpbb/passwords/manager.php
index 03729815ba..b2caba81f2 100644
--- a/phpBB/phpbb/passwords/manager.php
+++ b/phpBB/phpbb/passwords/manager.php
@@ -49,18 +49,28 @@ class manager
*/
protected $config;
+ /**
+ * @var bool Whether or not initialized() has been called
+ */
private $initialized = false;
+
+ /**
+ * @var array Hashing driver service collection
+ */
private $hashing_algorithms;
+
+ /**
+ * @var array List of default driver types
+ */
private $defaults;
/**
* Construct a passwords object
*
- * @param \phpbb\config\config $config phpBB configuration
- * @param array $hashing_algorithms Hashing driver
- * service collection
- * @param \phpbb\passwords\helper $helper Passwords helper object
- * @param array $defaults List of default driver types
+ * @param \phpbb\config\config $config phpBB configuration
+ * @param array $hashing_algorithms Hashing driver service collection
+ * @param \phpbb\passwords\helper $helper Passwords helper object
+ * @param array $defaults List of default driver types
*/
public function __construct(\phpbb\config\config $config, $hashing_algorithms, helper $helper, $defaults)
{
@@ -70,6 +80,9 @@ class manager
$this->defaults = $defaults;
}
+ /**
+ * Initialize the internal state
+ */
protected function initialize()
{
if (!$this->initialized)