mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-13 19:15:20 +02:00
[ticket/11037] Add/update docblocks.
PHPBB3-11037
This commit is contained in:
parent
0b47a7823a
commit
bad7661ee9
33
phpBB/includes/cache/service.php
vendored
33
phpBB/includes/cache/service.php
vendored
@ -21,16 +21,49 @@ if (!defined('IN_PHPBB'))
|
|||||||
*/
|
*/
|
||||||
class phpbb_cache_service
|
class phpbb_cache_service
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Cache driver.
|
||||||
|
*
|
||||||
|
* @var phpbb_cache_driver_interface
|
||||||
|
*/
|
||||||
protected $driver;
|
protected $driver;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The config.
|
||||||
|
*
|
||||||
|
* @var phpbb_config
|
||||||
|
*/
|
||||||
protected $config;
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Database connection.
|
||||||
|
*
|
||||||
|
* @var phpbb_db_driver
|
||||||
|
*/
|
||||||
protected $db;
|
protected $db;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Root path.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
protected $phpbb_root_path;
|
protected $phpbb_root_path;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP extension.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
protected $php_ext;
|
protected $php_ext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a cache service around a cache driver
|
* Creates a cache service around a cache driver
|
||||||
*
|
*
|
||||||
* @param phpbb_cache_driver_interface $driver The cache driver
|
* @param phpbb_cache_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_interface $driver, phpbb_config $config, phpbb_db_driver $db, $phpbb_root_path, $php_ext)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user