mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11700] Modify all code to use the new interface names
PHPBB3-11700
This commit is contained in:
2
phpBB/phpbb/cache/driver/base.php
vendored
2
phpBB/phpbb/cache/driver/base.php
vendored
@@ -18,6 +18,6 @@ if (!defined('IN_PHPBB'))
|
||||
/**
|
||||
* @package acm
|
||||
*/
|
||||
abstract class phpbb_cache_driver_base implements phpbb_cache_driver_interface
|
||||
abstract class phpbb_cache_driver_base implements phpbb_cache_driver_driver_interface
|
||||
{
|
||||
}
|
||||
|
12
phpBB/phpbb/cache/service.php
vendored
12
phpBB/phpbb/cache/service.php
vendored
@@ -24,7 +24,7 @@ class phpbb_cache_service
|
||||
/**
|
||||
* Cache driver.
|
||||
*
|
||||
* @var phpbb_cache_driver_interface
|
||||
* @var phpbb_cache_driver_driver_interface
|
||||
*/
|
||||
protected $driver;
|
||||
|
||||
@@ -59,13 +59,13 @@ class phpbb_cache_service
|
||||
/**
|
||||
* Creates a cache service around a cache driver
|
||||
*
|
||||
* @param phpbb_cache_driver_interface $driver The cache driver
|
||||
* @param phpbb_cache_driver_driver_interface $driver The cache driver
|
||||
* @param phpbb_config $config The config
|
||||
* @param phpbb_db_driver $db Database connection
|
||||
* @param string $phpbb_root_path Root path
|
||||
* @param string $php_ext PHP extension
|
||||
*/
|
||||
public function __construct(phpbb_cache_driver_interface $driver, phpbb_config $config, phpbb_db_driver $db, $phpbb_root_path, $php_ext)
|
||||
public function __construct(phpbb_cache_driver_driver_interface $driver, phpbb_config $config, phpbb_db_driver $db, $phpbb_root_path, $php_ext)
|
||||
{
|
||||
$this->set_driver($driver);
|
||||
$this->config = $config;
|
||||
@@ -77,7 +77,7 @@ class phpbb_cache_service
|
||||
/**
|
||||
* Returns the cache driver used by this cache service.
|
||||
*
|
||||
* @return phpbb_cache_driver_interface The cache driver
|
||||
* @return phpbb_cache_driver_driver_interface The cache driver
|
||||
*/
|
||||
public function get_driver()
|
||||
{
|
||||
@@ -87,9 +87,9 @@ class phpbb_cache_service
|
||||
/**
|
||||
* Replaces the cache driver used by this cache service.
|
||||
*
|
||||
* @param phpbb_cache_driver_interface $driver The cache driver
|
||||
* @param phpbb_cache_driver_driver_interface $driver The cache driver
|
||||
*/
|
||||
public function set_driver(phpbb_cache_driver_interface $driver)
|
||||
public function set_driver(phpbb_cache_driver_driver_interface $driver)
|
||||
{
|
||||
$this->driver = $driver;
|
||||
}
|
||||
|
Reference in New Issue
Block a user