Files
zhamao-framework/src/ZM/Annotation/CQ/CQAfter.php

42 lines
638 B
PHP
Raw Normal View History

2020-03-02 16:14:20 +08:00
<?php
declare(strict_types=1);
2020-03-02 16:14:20 +08:00
namespace ZM\Annotation\CQ;
use Doctrine\Common\Annotations\Annotation\Target;
use ZM\Annotation\AnnotationBase;
2020-05-08 16:37:38 +08:00
use ZM\Annotation\Interfaces\Level;
2020-03-02 16:14:20 +08:00
/**
* Class CQAfter
* @Annotation
* @Target("METHOD")
*/
2020-05-08 16:37:38 +08:00
class CQAfter extends AnnotationBase implements Level
2020-03-02 16:14:20 +08:00
{
/**
* @var string
* @Required()
*/
public $cq_event;
2020-05-08 16:37:38 +08:00
public $level = 20;
/**
* @return mixed
*/
public function getLevel()
{
2020-05-08 16:37:38 +08:00
return $this->level;
}
/**
* @param mixed $level
*/
public function setLevel($level)
{
2020-05-08 16:37:38 +08:00
$this->level = $level;
}
}