解析PHP源码,并生成对应文档格式¶
| 属性 | 值 |
|---|---|
| 命名空间 | fize\doc |
| 类名 | Doc |
| 方法: |
|---|
| 方法名 | 说明 |
|---|---|
| __construct() | 常规调用请先初始化 |
| file() | 解析代码文件 |
| dir() | 解析代码文件夹 |
方法¶
__construct()¶
常规调用请先初始化
public function __construct (
string $handler
)
| 参数: |
|
|---|
file()¶
解析代码文件
public static function file (
string $file,
string $output,
string $namespace = "",
array $filters = []
)
| 参数: |
|
|---|
dir()¶
解析代码文件夹
public static function dir (
string $dir,
string $output,
string $namespace = "",
array $map = [],
array $filters = []
)
| 参数: |
|
|---|