for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Silviooosilva\CacheerPhp\Exceptions;
use Exception;
class CacheRedisException extends BaseException
{
/** @param string $before */
private static string $before = "<Redis Cache Store Exception>";
/**
* @return void
*/
public static function create(string $message = "", int $code = 0, ?Exception $previous = null, array $details = [])
return new self(self::getBefore() . ": " .$message, $code, $previous, $details);
return new self(self::ge...e, $previous, $details)
Silviooosilva\CacheerPhp...ons\CacheRedisException
void
}
* @return string
public static function getBefore()
return self::$before;
public static function setBefore(string $text)
self::$before = $text;