<?php
/**
 * Created by PhpStorm.
 * User: jiuli
 * Date: 2018/3/25
 * Time: 下午6:16
 */

namespace Mainto\RpcServer\RpcAnnotations;

use Doctrine\Common\Annotations\Annotation\Attribute;
use Doctrine\Common\Annotations\Annotation\Attributes;
use Doctrine\Common\Annotations\Annotation\Enum;

/**
 * Class RpcCallWay
 * @package Mainto\RpcServer\RpcAnnotations
 *
 * @Annotation
 * @Target({"METHOD"})
 *
 * @Attributes({
 *     @Attribute("only", type = "string"),
 * })
 *
 * @deprecated deprecated since version 1.2
 */
class RpcCallWay {
    /**
     * 是否关闭Rpc调用
     *
     * @Enum({"Http", "Rpc"})
     */
    public string $only;
}