Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Oct 31, 2023
1 parent 93b56c8 commit 8e526c8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/Components/queue/src/Annotation/QueueTypeStructType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

declare(strict_types=1);

namespace Imi\Queue\Annotation;

use Imi\Bean\Annotation\Base;
use Imi\Bean\Annotation\Inherit;

/**
* 注入队列对象
*
* @Annotation
*
* @Target({"PROPERTY", "ANNOTATION"})
*
* @property string $type
*/
#[\Attribute(\Attribute::TARGET_PROPERTY)]
#[Inherit]
class QueueTypeStructType extends Base
{
public function __construct(?array $__data = null, string $type = '')
{
parent::__construct(...\func_get_args());
}
}

0 comments on commit 8e526c8

Please sign in to comment.