mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 15:15:35 +08:00
update api docs
This commit is contained in:
committed by
github-actions[bot]
parent
598cf60e10
commit
b5ae76d298
111
docs/api/ZM/Config/ZMConfig.md
Normal file
111
docs/api/ZM/Config/ZMConfig.md
Normal file
@@ -0,0 +1,111 @@
|
||||
# ZM\Config\ZMConfig
|
||||
|
||||
## restoreDirectory
|
||||
|
||||
```php
|
||||
public function restoreDirectory(): mixed
|
||||
```
|
||||
|
||||
### 描述
|
||||
|
||||
作者很懒,什么也没有说
|
||||
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| mixed | |
|
||||
|
||||
|
||||
## get
|
||||
|
||||
```php
|
||||
public function get(mixed $additional_key, string $name): null|array|false|mixed
|
||||
```
|
||||
|
||||
### 描述
|
||||
|
||||
作者很懒,什么也没有说
|
||||
|
||||
### 参数
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| additional_key | mixed | |
|
||||
| name | string | |
|
||||
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| null|array|false|mixed | |
|
||||
|
||||
|
||||
## loadConfig
|
||||
|
||||
```php
|
||||
public function loadConfig(string $name): array|int|string
|
||||
```
|
||||
|
||||
### 描述
|
||||
|
||||
作者很懒,什么也没有说
|
||||
|
||||
### 参数
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| name | string | |
|
||||
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| array|int|string | |
|
||||
|
||||
|
||||
## parseList
|
||||
|
||||
```php
|
||||
public function parseList(string $name): void
|
||||
```
|
||||
|
||||
### 描述
|
||||
|
||||
通过名称将所有该名称的配置文件路径和信息读取到列表中
|
||||
|
||||
### 参数
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| name | string | |
|
||||
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| void | |
|
||||
|
||||
|
||||
## readConfigFromFile
|
||||
|
||||
```php
|
||||
public function readConfigFromFile(mixed $filename, mixed $ext_name): mixed
|
||||
```
|
||||
|
||||
### 描述
|
||||
|
||||
作者很懒,什么也没有说
|
||||
|
||||
### 参数
|
||||
|
||||
| 名称 | 类型 | 描述 |
|
||||
| -------- | ---- | ----------- |
|
||||
| filename | mixed | |
|
||||
| ext_name | mixed | |
|
||||
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| mixed | |
|
||||
Reference in New Issue
Block a user