RespResource.php 427 字节
<?php

namespace Lackoxygen\ShowDocGeneration\Annotations;

use Doctrine\Common\Annotations\Annotation\Required;
use Lackoxygen\ShowDocGeneration\Contracts\JsonPasterInterface;

/**
 * @Annotation
 * @Target({"METHOD"})
 * @Attributes({
@Attribute("resource", type = "string"),
 * })
 */
final class RespResource extends Annotation
{
    /**
     * @Required()
     * @var string
     */
    protected string $resource = '';
}