swoole-framwork/core/annotations/Redis.php
2024-05-22 15:50:08 +08:00

24 lines
456 B
PHP

<?php
namespace Core\annotations;
use Doctrine\Common\Annotations\Annotation\Target;
/**
* @Annotation
* @Target({"METHOD"})
*/
class Redis
{
public $source = 'default';
public $key = '';
public $type = 'string';
public $prefix = '';
public $expire = -1;
public $incr = '';
public $member = '';
public $score = '';//有序集合分数
public $coroutine = false;//使用协程
public $script = '';//lua脚本
}