1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/passwords] Add driver helper class for additional functions

Functions for the helper class might be used in other drivers as well and
therefore shouldn't be limited to just one driver.

PHPBB3-11610
This commit is contained in:
Marc Alexander
2013-06-15 13:34:05 +02:00
parent c9fafcefd3
commit 61e98fbd63
3 changed files with 9 additions and 28 deletions

View File

@@ -23,6 +23,9 @@ abstract class phpbb_crypto_driver_base implements phpbb_crypto_driver_interface
/** @var phpbb_config */
protected $config;
/** @var phpbb_crypto_driver_helper */
protected $helper;
/**
* Constructor of crypto driver object
*
@@ -31,6 +34,7 @@ abstract class phpbb_crypto_driver_base implements phpbb_crypto_driver_interface
public function __construct(phpbb_config $config)
{
$this->config = $config;
$this->helper = new phpbb_crypto_driver_helper($this);
}
/**