From ae700da7bbc245a27fbb8207155fcd2b6ecb78ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=E5=B0=8F=E5=BC=BAxqitw=2Ecn?= <360237521@qq.com> Date: Thu, 7 Jun 2018 13:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/index.php | 118 ++----------------------------------------------- 1 file changed, 4 insertions(+), 114 deletions(-) diff --git a/test/index.php b/test/index.php index 0b67d45..7f4385f 100644 --- a/test/index.php +++ b/test/index.php @@ -13,120 +13,10 @@ require_once __DIR__ . '/../vendor/autoload.php'; require_once __DIR__ . '/Api.php'; // 加载测试API类1 require_once __DIR__ . '/Api2.php'; // 加载测试API类2 $config = [ - 'class' => ['Api', 'Api2'], // 要生成文档的类 + 'class' => ['Api2', 'Api2', 'Api2', 'Api'], // 要生成文档的类 'filter_method' => ['__construct'], // 要过滤的方法名称 ]; -$api = new \itxq\apidoc\ApiDoc($config); -$doc = $api->getApiDoc(); -?> - - -
- - - - - -