Skip to content

Commit

Permalink
update 注释
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz6chez committed Jan 9, 2024
1 parent 385e803 commit ec6ca1d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/Headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,30 @@
namespace Workbunny\WebmanRqueue;
class Headers
{
/**
* @var string 消息id
*/
public string $_id = '*';

/**
* @var int 延迟时间 ms
*/
public int $_delay = 0;
/**
* @var float 时间戳 s
*/
public float $_timestamp = 0.0;
/**
* @var int 重试计数
*/
public int $_count = 0;
/**
* @var string 错误信息
*/
public string $_error = '';
/**
* @var bool 自动移除
*/
public bool $_delete = true;

public function __construct(string|array|null $headers = null)
Expand Down

0 comments on commit ec6ca1d

Please sign in to comment.