update api docs

This commit is contained in:
sunxyw
2022-12-17 11:43:41 +00:00
committed by github-actions[bot]
parent 9399e54da8
commit ca61e6a238
5 changed files with 250 additions and 48 deletions

View File

@@ -0,0 +1,209 @@
# ZM\Command\Command
## execute
```php
public function execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| input | Symfony\Component\Console\Input\InputInterface | |
| output | Symfony\Component\Console\Output\OutputInterface | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| int | |
## handle
```php
public function handle(): int
```
### 描述
作者很懒,什么也没有说
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| int | |
## write
```php
public function write(string $message, bool $newline): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| message | string | |
| newline | bool | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## info
```php
public function info(string $message, bool $newline): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| message | string | |
| newline | bool | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## error
```php
public function error(string $message, bool $newline): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| message | string | |
| newline | bool | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## comment
```php
public function comment(string $message, bool $newline): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| message | string | |
| newline | bool | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## question
```php
public function question(string $message, bool $newline): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| message | string | |
| newline | bool | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## detail
```php
public function detail(string $message, bool $newline): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| message | string | |
| newline | bool | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## section
```php
public function section(string $message, callable $callback): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| message | string | |
| callback | callable | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |

View File

@@ -1 +1,40 @@
# ZM\Command\InitCommand
# ZM\Command\InitCommand
## setBasePath
```php
public function setBasePath(): void
```
### 描述
作者很懒,什么也没有说
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |
## extractFile
```php
public function extractFile(string $file): void
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| file | string | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| void | |

View File

@@ -1,28 +1,5 @@
# ZM\ConsoleApplication
## __construct
```php
public function __construct(string $name): mixed
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| name | string | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
## run
```php

View File

@@ -1,28 +1,5 @@
# ZM\InstantApplication
## __construct
```php
public function __construct(mixed $dir): mixed
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| dir | mixed | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
## run
```php