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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user