X7ROOT File Manager
Current Path:
/home/notabjze/just4dastreets.com/libraries/src/Cache/Storage
home
/
notabjze
/
just4dastreets.com
/
libraries
/
src
/
Cache
/
Storage
/
ðŸ“
..
📄
ApcuStorage.php
(6.78 KB)
📄
CacheStorageHelper.php
(1.01 KB)
📄
FileStorage.php
(17.32 KB)
📄
MemcachedStorage.php
(9.7 KB)
📄
RedisStorage.php
(6.84 KB)
📄
WincacheStorage.php
(4.13 KB)
Editing: CacheStorageHelper.php
<?php /** * Joomla! Content Management System * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Cache\Storage; \defined('JPATH_PLATFORM') or die; /** * Cache storage helper functions. * * @since 1.7.0 */ class CacheStorageHelper { /** * Cache data group * * @var string * @since 1.7.0 */ public $group = ''; /** * Cached item size * * @var string * @since 1.7.0 */ public $size = 0; /** * Counter * * @var integer * @since 1.7.0 */ public $count = 0; /** * Constructor * * @param string $group The cache data group * * @since 1.7.0 */ public function __construct($group) { $this->group = $group; } /** * Increase cache items count. * * @param string $size Cached item size * * @return void * * @since 1.7.0 */ public function updateSize($size) { $this->size += $size; $this->count++; } }
Upload File
Create Folder