initial commit; version 22.5.12042

This commit is contained in:
2022-12-12 23:28:25 -05:00
commit af1b03d79f
17653 changed files with 22692970 additions and 0 deletions

View File

@ -0,0 +1,72 @@
<?php
/**
*
* This file is part of phpFastCache.
*
* @license MIT License (MIT)
*
* For full copyright and license information, please see the docs/CREDITS.txt file.
*
* @author Georges.L (Geolim4) <contact@geolim4.com>
*
*/
declare(strict_types=1);
namespace Phpfastcache\Cluster;
use Psr\Cache\CacheItemInterface;
trait ClusterPoolTrait
{
/**
* @return bool
*/
protected function driverCheck(): bool
{
return true;
}
/**
* @return bool
*/
protected function driverConnect(): bool
{
return true;
}
/**
* @param CacheItemInterface $item
* @return null
*/
protected function driverRead(CacheItemInterface $item)
{
return null;
}
/**
* @param CacheItemInterface $item
* @return bool
*/
protected function driverWrite(CacheItemInterface $item): bool
{
return true;
}
/**
* @param CacheItemInterface $item
* @return bool
*/
protected function driverDelete(CacheItemInterface $item): bool
{
return true;
}
/**
* @return bool
*/
protected function driverClear(): bool
{
return true;
}
}