Files
kiri-core/kiri-note/Target.php
T
2021-11-30 15:10:01 +08:00

29 lines
340 B
PHP

<?php
namespace Note;
/**
* Class Target
* @package Note
*/
#[\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)
{
}
}