Files
kiri-core/kiri-annotation/Target.php
T

29 lines
393 B
PHP
Raw Normal View History

2022-01-09 03:50:38 +08:00
<?php
namespace Kiri\Annotation;
/**
* Class Target
* @package Annotation
*/
2022-02-23 16:32:08 +08:00
#[\Attribute(\Attribute::TARGET_CLASS)] class Target extends AbstractAttribute
2022-01-09 03:50:38 +08:00
{
const WORKER = 'worker';
const ALL = 'any';
const PROCESS = 'process';
const TASK = 'task';
/**
* @param string $only
*/
public function __construct(string $only = Target::ALL)
{
}
}