Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_cache\version_wrapper Class Reference

Class wrapping information in the cache that is tagged with a version number. More...

Public Member Functions

 __construct ($data, int $version)
 Constructs a version tag wrapper.
 

Public Attributes

mixed $data
 The data being stored.
 
int $version
 Version number for the data.
 

Detailed Description

Class wrapping information in the cache that is tagged with a version number.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core_cache\version_wrapper::__construct ( $data,
int $version )

Constructs a version tag wrapper.

Parameters
mixed$data
int$versionVersion number

The documentation for this class was generated from the following file: