for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Blackmine\Client\Generator;
class CacheKeyGenerator implements KeyGeneratorInterface
{
protected const KEY_SEPARATOR = "";
public function __construct(protected string $seed)
}
public function generate(...$params): string
return strtoupper(sha1($this->seed . implode(static::KEY_SEPARATOR, $params)));