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