Files
kiri-core/note/Target.php
T
as2252258@163.com 133ca2c273 111
2021-08-29 04:06:49 +08:00

29 lines
352 B
PHP

<?php
namespace Annotation;
/**
* Class Target
* @package Annotation
*/
#[\Attribute(\Attribute::TARGET_CLASS)] class Target extends Attribute
{
const WORKER = 'worker';
const ALL = 'any';
const PROCESS = 'process';
const TASK = 'task';
/**
* @param string $only
*/
public function __construct(string $only = Target::ALL)
{
}
}