for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Silviooosilva\CacheerPhp\Helpers;
use Silviooosilva\CacheerPhp\Helpers\CacheerHelper;
use Silviooosilva\CacheerPhp\Exceptions\CacheDatabaseException;
/**
* Class CacheDatabaseHelper
* @author Sílvio Silva <https://github.com/silviooosilva>
* @package Silviooosilva\CacheerPhp
*/
class CacheDatabaseHelper
{
* @param array $item
* @return void
public static function validateCacheItem(array $item)
CacheerHelper::validateCacheItem(
$item,
fn($msg) => CacheDatabaseException::create($msg)
);
}
* @param array $options
* @return array
public static function mergeCacheData($cacheData)
return CacheerHelper::mergeCacheData($cacheData);
* @param mixed $currentCacheData
* @param mixed $cacheData
public static function arrayIdentifier(mixed $currentCacheData, mixed $cacheData)
return CacheerHelper::arrayIdentifier($currentCacheData, $cacheData);