<?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;

/**
 * Class RpcDisableTypeValidation
 * @package Mainto\RpcServer\RpcAnnotations
 *
 * @Annotation
 * @Target({"METHOD"})
 *
 * @Attributes({
 *     @Attribute("check_type", type = "boolean"),
 *     @Attribute("check_validation", type="boolean"),
 * })
 */
class RpcDisableTypeValidation {
    /**
     * 是否检查类型
     *
     * @var bool
     */
    public bool $check_type = false;

    /**
     * 是否检查验证
     *
     * @var bool
     */
    public bool $check_validation = false;
}